GenericModule.pm:
package GenericModule; use Import::Into; feature->import::into(1, 'say'); 1;
111155275.pl:
use GenericModule; say 'hello,world';
Script run:
$ perl -I. 111155275.pl hello,world
Hope this helps!
In reply to Re^3: Passing on "use"s
by 1nickt
in thread Passing on "use"s
by Chuma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |