Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-18 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found