in reply to Using "USE" instead of "DO" for subroutines call in external file
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using "USE" instead of "DO" for subroutines call in external file
by Anonymous Monk on May 27, 2005 at 15:48 UTC | |
by tucano (Scribe) on May 31, 2005 at 13:05 UTC |