in reply to Modules 101 :: Using a Local Module from CPAN
Just to elaborate a little on hippo's reply, when you use SomePackage;, you aren't "running the SomePackage script", you are effectively including the source code for SomePackage in your own script. There is more magic that goes on than that, but the essence is that SomePackage packages up some Perly goodness for you and makes it easy to use from your script.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Modules 101 :: Using a Local Module from CPAN
by stevieb (Canon) on Dec 07, 2022 at 04:51 UTC |