Uri Guttman
explains
Perl file slurping techniques on O'Reilly.
"Slurping files has advantages and limitations, and is not something you should just do when line by line processing is fine. It is best when you need the entire file in memory for processing all at once. Slurping with in memory processing can be faster and lead to simpler code than line by line if done properly."
(Log in to post comments)