Keep It Simple, Stupid | |
PerlMonks |
Re^2: Difference between executing and "using" a .pm fileby Marshall (Canon) |
on Mar 31, 2021 at 03:46 UTC ( [id://11130625]=note: print w/replies, xml ) | Need Help?? |
My thought was just: perl ConfigFile.pm where, when run as an executable, it runs the validate() routine. I am just looking for simple syntax for my user which eliminates a trivial driver program. This is probably not that big of a deal. And it could also be that this confuses the issue even more and is a bad idea! It could wind up being that I need to build a GUI to assist generation of this config file.
In Section
Seekers of Perl Wisdom
|
|