Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to Trap exit code from system calls

by geektron (Curate)
on Jan 21, 2004 at 16:00 UTC ( #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? | Other CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2022-01-28 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (72 votes). Check out past polls.

    Notices?