is it true that perl will be just as fast as c for reading files ?

for example

will  below be as fast as if it were written in c?
I said this because on random posts, I see that perl is optimized to work w/ text files and it should be as fast as perl

open FILE, $file or die "bad filename: $!";
 while (my $line = <FILE>) {
         #do something w $line
 }

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to