Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Interpret $? variable

by daxim (Curate)
on Sep 12, 2013 at 09:50 UTC ( [id://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;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found