1) use Path::Tiny; path($fname)->slurp_raw or slurp_utf8
1) perlunitut: Unicode in Perl yes even if you're dealing with cyrillic characters encoding/io is explained
1) http://blogs.perl.org/users/leon_timmermans/2015/08/fileslurp-is-broken-and-wrong.html
In reply to Re: dealing with cyrillic characters (perlunitut)
by Anonymous Monk
in thread dealing with cyrillic characters
by Aldebaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |