package my_mod; BEGIN { our @ISA = 'Exporter'; our @EXPORT_OK = qw( cat ); require Exporter; } sub cat{ print "meeow.\n"; } 1;
use my_mod qw( cat ); cat();
In reply to Re: module problems
by ikegami
in thread module problems
by PerlZealot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |