In the Caller you can say at the start of the script: require mysub; And use the module only when you really need it with: use mysub;Package mysub; sub 1 { } sub 2 { } 1;
In reply to Re: Using "USE" instead of "DO" for subroutines call in external file
by tucano
in thread Using "USE" instead of "DO" for subroutines call in external file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |