Don't ask to ask, just ask | |
PerlMonks |
Re: Set of scripts using same variablesby tcf22 (Priest) |
on Mar 15, 2004 at 17:31 UTC ( [id://336760]=note: print w/replies, xml ) | Need Help?? |
If they are configuration vars, then I would go with rinceWind's suggestion of the Config::* modules.
If you have groups of scripts with that same piece of code, you can just stick it in a common script an require it. Script1.pl
common_stuff.pl
- Tom
In Section
Seekers of Perl Wisdom
|
|