Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: MySQL gone Away

by maverick (Curate)
on Oct 14, 2002 at 17:08 UTC ( #205155=note: print w/replies, xml ) Need Help??


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*!!

Replies are listed 'Best First'.
Re: Re: Re: MySQL gone Away
by bronto (Priest) on Oct 14, 2002 at 17:48 UTC

    Only for the sake of KISS, nothing more and nothing less.

    Ciao!
    --bronto

    # Another Perl edition of a song:
    # The End, by The Beatles
    END {
      $you->take($love) eq $you->make($love) ;
    }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://205155]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2016-10-01 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.