in reply to Newbie: Pipe/STDIN Clarification
open my($out), 'command |' or die $!; print $out $_ while <$in>; close $out;
Using system can be ok :) system "command < file";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Newbie: Pipe/STDIN Clarification
by graff (Chancellor) on Nov 05, 2011 at 13:41 UTC |