http://www.perlmonks.org?node_id=1061516


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';