Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to Trap exit code from system calls

by geektron (Curate)
on Jan 21, 2004 at 16:00 UTC ( [id://322917]=note: print w/replies, xml ) Need Help??


in reply to How to Trap exit code from system calls

 system() will return zero on success or nonzero on failure.

you can examine the return value in $?.

perldoc -f system is your friend. :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found