Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: qx and $!

by cdarke (Prior)
on Oct 18, 2006 at 15:46 UTC ( [id://579120]=note: print w/replies, xml ) Need Help??


in reply to qx and $!

$! is not necessarily an error. Sometimes code will try something and if it didn't work try something else. Loading executable files from different directories in a path is an example. You should test the return value from a function to see if it gave an error, not $!. If you want the return value from a child process then it's $? you need.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-29 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found