package Base;
use strict;
use constant MY_CONST => 'Base Constant';
1;
package Child;
use base qw( Base );
sub printMyConst
{
my $self = shift;
print $self->MY_CONST;
}
1;
Child->printMyConst();
Thursday, September 25, 2008
Subscribe to:
Comments (Atom)
Blog Archive
About Me
- Matthew Lloyd
- Seattle, Washington, United States