in reply to Re^4: How to process multiple input files?
in thread How to process multiple input files?
Check your answers, its easy :)
$ perl -le " while ( my $line = <> ) { 1 } print $. " 0 0 0 0 ^Z 4 $ perl -MO=Deparse -le " while ( my $line = <> ) { 1 } print $. " BEGIN { $/ = "\n"; $\ = "\n"; } while (defined(my $line = <ARGV>)) { do { '???' }; } print $.; -e syntax OK
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: How to process multiple input files?
by John M. Dlugosz (Monsignor) on May 23, 2011 at 19:22 UTC | |
by Anonymous Monk on May 23, 2011 at 20:17 UTC |
In Section
Seekers of Perl Wisdom