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;
In reply to Re: when is a perl module executed?
by hangon
in thread when is a perl module executed?
by ketaki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |