in reply to Confusion with two-way pipes
"Would you fly in a jet whose guidance software was written in Perl?"open IN, "some_file" or die $!; open OUT, ">>some_other_file" or die $!; #generic file processing while (<IN>) { #process... print OUT $result; }
|
|---|