Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Interpret $? variable

by daxim (Chaplain)
on Sep 12, 2013 at 09:50 UTC ( #1053688=note: print w/ replies, xml ) Need Help??


in reply to Interpret $? variable

Yes, that's the convention. I recommend IPC::System::Simple which has a very convenient API for this use-case.

use IPC::System::Simple qw(runx); runx [0], 'some_command', @more_arguments;


Comment on Re: Interpret $? variable
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-11-23 17:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls