Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Re: using strict and a config fileby mce (Curate) |
on Nov 12, 2001 at 13:55 UTC ( [id://124785]=note: print w/replies, xml ) | Need Help?? |
Hi, I have a similar setup and the way I work is fully qualifing the variable using the package name. This will prevent strict from complaining. For Example: The config_mail file etc... And in your actual program, do: This is the most readable solution, as you know where to look for when you want to change a variable. Dr. Mark Ceulemans Senior Consultant IT Masters, Belgium
In Section
Seekers of Perl Wisdom
|
|