![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Does Perl have a baked-in memory llimit?by hippo (Archbishop) |
on Nov 12, 2023 at 17:45 UTC ( [id://11155579]=note: print w/replies, xml ) | Need Help?? |
I don't use File::Slurp ever (but without the uppercase and the punctuation :-) Leon's blog post explains (some of) the problems with File::Slurp and at the end offers three alternatives. I tend to use Path::Tiny in preference because it isn't overkill, is already widely used and does just about anything I am likely to want in regards to files and directories, including slurping and spewing. YMMV. I should also say that for published code which only slurps one single file I would probably just do that without a module as the overhead isn't really worth it in terms of efficiency and maintenance. 🦛
In Section
Seekers of Perl Wisdom
|
|