in reply to Path::Tiny supress unicode warnings

Further to hippo's point, you can also specify the encoding as an option to slurp. From the doc to Path::Tiny :

$data = path("foo.txt")->slurp( {binmode => ":raw"} );
"Reads file contents into a scalar. Takes an optional hash reference which may be used to pass options. The only available option is binmode, which is passed to binmode() on the handle used for reading."

Hope this helps!


The way forward always starts with a minimal test.