Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: use File::Slurp for (!"speed");

by hardburn (Abbot)
on Nov 08, 2004 at 14:31 UTC ( #406071=note: print w/replies, xml ) Need Help??


in reply to use File::Slurp for (!"speed");

Usually when I slurp a file, it's not for speed. It's because the file format is easier to deal with if I grab it all at once. For instance, right now I'm building a module that has a fairly complex mini-language for its configuration file. I'm certain there won't be any speed benefit to slurping this file (a typical application will read the config exactly once at startup), but it's easier to feed Parse::RecDescent data that way.

"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2019-10-14 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?