Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: IPC::Run / bash pipe

by ag4ve (Monk)
on Nov 07, 2013 at 02:11 UTC ( #1061516=note: print w/ replies, xml ) Need Help??


in reply to Re^2: IPC::Run / bash pipe
in thread IPC::Run / bash pipe

Oh, nm, I'm blind (or not paying attention) - that works

my $success = run [$ipt_cmd => 'iptables-restore'], '<', \(join("\n". @iptout)), '>', \my $cmdout, '2>&1';


Comment on Re^3: IPC::Run / bash pipe
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-10-22 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls