How do I get the module to print hello?package Bio; $VERSION = '0.01'; require Exporter; use vars qw/@ISA/; @ISA = qw(Exporter); @EXPORT = qw(%users); sub import { my $self = shift; my %args = @_; $path = $args{path}; } print "hello" if $path; 1; __END__
In reply to Export/import variables by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |