I'm trying to read in using File::Slurp. I get an out of memory error.
Don't use File::Slurp!
Just do it idiomatically without a module (my $string = do { local $/; <$fh> }) as described in more detail by haukex here.
See also:
Updated: extra references were added later
👁️🍾👍🦟
In reply to Re: Does Perl have a baked-in memory llimit?
by eyepopslikeamosquito
in thread Does Perl have a baked-in memory llimit?
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |