in reply to Detect line endings with CGI.pm upload

foreach my $line (<$filehandle>)
needlessly loads the entire file into memory unlike the otherwise equivalent
while (my $line = <$filehandle>)