Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 chanting in the Monastery: (8)
As of 2014-12-29 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (192 votes), past polls