in reply to Difference between executing and "using" a .pm file
There are a couple of problems with executing a module as a modulino. And it's totally unnecessary. Load the module properly.
which can be written asperl -e'use ConfigFile; ConfigFile::validate()'
perl -MConfigFile -e'ConfigFile::validate()'
Seeking work! You can reach me at ikegami@adaelis.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Difference between executing and "using" a .pm file
by Marshall (Canon) on Mar 31, 2021 at 03:46 UTC | |
by ikegami (Patriarch) on Apr 01, 2021 at 06:25 UTC | |
by Marshall (Canon) on Apr 01, 2021 at 21:00 UTC |