in reply to when is a perl module executed?
Sure, try this. Just curious, why do you want to?
# module package foo; print ' foo'; 1;
# calling script use foo; print ' bar';
update: also
# calling script print ' bar'; use foo;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: when is a perl module executed?
by ketaki (Acolyte) on Jul 17, 2008 at 03:16 UTC | |
by GrandFather (Saint) on Jul 17, 2008 at 03:24 UTC | |
by ketaki (Acolyte) on Jul 17, 2008 at 03:30 UTC | |
by blazar (Canon) on Jul 18, 2008 at 10:48 UTC | |
by hangon (Deacon) on Jul 17, 2008 at 12:17 UTC | |
by ketaki (Acolyte) on Jul 17, 2008 at 05:43 UTC |