perlmod gives advice on writing modules.
If this code were executed by the sub import of a module MyInit.pm which you wrote, then the following code would be all that each little script would need.
use MyInit;
--
[ e d @ h a l l e y . c c ]
In reply to Re: Initializing a script from an INI-file using BEGIN-block
by halley
in thread Initializing a script from an INI-file using BEGIN-block
by martinvi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |