Next | Program Repair Shop | 86 |
A brief digression:
$file = join '', <FILE>;
Here <FILE> forces Perl to split up the file into lines
Then you throw away all the work you just forced it to do
Better:
{ local $/; $file = <FILE>; }
Next | Copyright © 2002 M. J. Dominus |