Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053688]
help
Chatterbox?
[shmem]: a hummingbug would be so small, light and fast that it eludes code review
[erix]: (and it would suck)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2018-02-20 13:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (271 votes). Check out past polls.

    Notices?