in reply to Re: what's this loo code? (*slurp*)
in thread what's this loo code?
Efficient:
Pity there's no way to set $/ to a reference to a number using a switch.perl -ne'BEGIN{$/=\65536} $a+=tr/\n//; END{print"$a\n"}' file
Makeshifts last the longest.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re^2: what's this loo code? (*slurp*)
by John M. Dlugosz (Monsignor) on Feb 05, 2003 at 03:58 UTC | |
by Aristotle (Chancellor) on Feb 05, 2003 at 08:01 UTC |
In Section
Seekers of Perl Wisdom