use strict; open my $hndl, '<'."bigfile.txt" or die "Open of bigfile failed $!"; while (<$hndl>) { print sprintf("% 7s",$.) . " $_ \n"; } close $hndl;
In reply to Re: speeding up script that uses filehandles
by hsinclai
in thread speeding up script that uses filehandles
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |