basicdez has asked for the wisdom of the Perl Monks concerning the following question:
Please help me with your infinite wisdom. I am pulling in a .dat file as an input file to my perl module usinf the following:
my $fname = "$datpath2/pd2x.dat2";I am accessing the contents via:
open FH, "< $fname" or die "Cannot open datfile: ", $!; while (<FH>) { if (/"DESTINATION"/) { . . .
Whenever I get an input file greater than 45,000+ bytes my perl module comes to a stand still. Anything less than this and it runs just fine. What do I need to do to be able to input a larger file.
I apologize for being a novice
peace, LOVE and ((code))
basicdez
Edited: ~Fri Oct 18 21:32:21 2002 (GMT) by footpad: Added <code> tags and other HTML formatting to improve legibility, per Consideration
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Increasing buffer size(?) for input FileHandle
by Aristotle (Chancellor) on Oct 18, 2002 at 14:08 UTC | |
Re: Increasing buffer size(?) for input FileHandle
by janx (Monk) on Oct 17, 2002 at 20:55 UTC | |
by basicdez (Pilgrim) on Oct 18, 2002 at 11:38 UTC |
Back to
Seekers of Perl Wisdom