Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Need help fixing AppConfig error ("global_password: no such variable")

by jdavidboyd (Friar)
on Jun 11, 2003 at 19:15 UTC ( #265140=note: print w/replies, xml ) Need Help??


in reply to Need help fixing AppConfig error ("global_password: no such variable")

The quick dirty ugly way would be to define your own error handler, and ignore it.

I did that here, adding in
sub my_error() { }

And defining an error tag above your GLOBAL line, like
ERROR => \&my_error,

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://265140]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-05-28 08:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (98 votes). Check out past polls.

    Notices?