Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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?
[marioroy]: choroba++, Discipulus++. It depends on the type of module. Data-type "only" modules are likely multi-process safe, re: Hash::Ordered, Tie::IxHash.
[marioroy]: ... when shared via MCE::Share-> share(...)
[marioroy]: Net type modules are likely not multi-process safe unless stated in the documentation.
[marioroy]: The Prima author fixed his module to be both thread and multi-process safe. Thanks Dmitry.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-09-22 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (260 votes). Check out past polls.

    Notices?