Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 examining the Monastery: (9)
As of 2015-07-28 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls