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

Re: How to Trap exit code from system calls

by Fletch (Bishop)
on Jan 21, 2004 at 16:12 UTC ( [id://322924]=note: print w/replies, xml ) Need Help??


in reply to How to Trap exit code from system calls

If you read perldoc -f open carefully:

Closing any piped filehandle causes the parent process to wait for the child to finish, and returns the status value in $?.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found