in reply to Re^2: Passing on "use"s
in thread Passing on "use"s
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Passing on "use"s
by Chuma (Scribe) on Oct 29, 2023 at 17:17 UTC | |
by 1nickt (Canon) on Oct 29, 2023 at 17:56 UTC | |
by 1nickt (Canon) on Oct 29, 2023 at 17:23 UTC |