uny2k
view release on metacpan or search on metacpan
lib/uny2k.pm view on Meta::CPAN
sub new {
my $proto = shift;
my $class = ref $proto || $proto;
my($year, $reaction) = @_;
my $self = {};
$self->{_Year} = $year;
$self->{_Reaction} = $reaction || 'die';
return bless $self => $class;
}
sub stringize {
return shift->{_Year};
}
sub numize {
return shift->{_Year};
( run in 0.687 second using v1.01-cache-2.11-cpan-65fba6d93b7 )