make life easier for yourself use Path::Tiny
use Path::Tiny 'path'; my $data = path("foo.txt")->slurp_raw;
In reply to Re: Error binmode() on unopened filehandle (Path::Tiny slurp_raw)
by Anonymous Monk
in thread Error binmode() on unopened filehandle
by RedJeep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |