Think about Loose Coupling | |
PerlMonks |
Re: Need help fixing AppConfig error ("global_password: no such variable")by jdavidboyd (Friar) |
on Jun 11, 2003 at 19:15 UTC ( [id://265140]=note: print w/replies, xml ) | Need Help?? |
The quick dirty ugly way would be to define your own error handler, and ignore it. I did that here, adding in
And defining an error tag above your GLOBAL line, like
When I run, I get no error about global_password not existing. Of course, YMMV. Personally, I wouldn't ignore any errors if I could help it. Or, you could use the CREATE tag to make variables automatically that don't exist and set them to their default values.
In Section
Seekers of Perl Wisdom
|
|