"be consistent" | |
PerlMonks |
Re: Difficulty with UTF-8 and file contentsby choroba (Cardinal) |
on Apr 13, 2020 at 13:14 UTC ( [id://11115454]=note: print w/replies, xml ) | Need Help?? |
There's no need to reopen the DATA handle, you can specify its encoding via binmode:
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|