http://www.perlmonks.org?node_id=205155


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); }

/\/\averick
OmG! They killed tilly! You *bleep*!!