Created
January 4, 2012 22:09
-
-
Save ranginui/1562444 to your computer and use it in GitHub Desktop.
Koha::Hugs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Koha::Hugs; | |
use strict; | |
use warnings; | |
use base qw(Class::Accessor); | |
__PACKAGE__->mk_accessors( qw(hug) ); | |
sub new { | |
my $class = shift; | |
my $hugger = {}; | |
$hugger->{hug}=1; | |
return bless $hugger; | |
} | |
=head1 NAME | |
Koha::Hugs - get some hugging | |
=head1 SYNOPSIS | |
use Koha::Hugs; | |
my $hugger = Koha::Hugs->new(); | |
$hugger->hug(); | |
=cut | |
1; | |
__END__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment