in reply to Re: MySQL gone Away
in thread MySQL gone Away
Why iterate, when you can get the whole file in one big slurp?
{ local $/ = undef; open(FILE,"<".$filename) || die ("Could not open: $!"); $data = <FILE>; close(FILE); }
In Section
Seekers of Perl Wisdom