$ time perl -w use strict; my $FH = undef; open($FH, "<", "a.dvd.iso") or die "bah"; while (<$FH>) { print "hoho" if m/^ho/; } close $FH or die "doh"; __END__ hohohohohohohohohohohohohoh... real 1m40.487s user 0m32.321s sys 0m5.729s $ ls -lh a.dvd.iso -rw-r--r-- 1 user user 4.3G Oct 19 07:51 a.dvd.iso
In reply to Re: Split 2GB file and parsing
by andreas1234567
in thread Split 2GB file and parsing
by siva kumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |