To use it:package Foo; require Exporter; @ISA =qw(Exporter); @EXPORT =qw(foo); # List funcs to export here sub foo($){ print @_; }
--traveleruse Foo; foo("Hello\n");
In reply to Re: Including code without packaging?
by traveler
in thread Including code without packaging?
by MrCromeDome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |