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';
In reply to Re^3: IPC::Run / bash pipe
by ag4ve
in thread IPC::Run / bash pipe
by ag4ve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |