Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: connection to database interfering with $?

by andal (Hermit)
on Jan 16, 2014 at 09:25 UTC ( [id://1070776]=note: print w/replies, xml ) Need Help??


in reply to connection to database interfering with $?

Read description of $? carefully. There it states that if SIGCHLD is set, then $? shall be incorrect. Check the following code

system('true'); print "\$? is $?\n"; $SIG{CHLD} = 'IGNORE'; system('true'); print "\$? is $?\n";

From this follows, that most likely your DBI call has set the $SIG{CHLD} and didn't clear it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-24 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found