Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Attempting to trap a DBI->connect error

by kyle (Abbot)
on Jan 06, 2007 at 03:50 UTC ( [id://593263]=note: print w/replies, xml ) Need Help??


in reply to Attempting to trap a DBI->connect error

Your eval "block" needs a semicolon after it.

$ perl -ce 'eval { 1 } sleep 1;' syntax error at -e line 1, near "} sleep" -e had compilation errors. $ perl -ce 'eval { 1 }; sleep 1;' -e syntax OK

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-20 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found