Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2021-01-28 09:57 GMT
Find Nodes?
    Voting Booth?