in reply to Re^3: attempting to achieve something
in thread attempting to achieve something

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^5: attempting to achieve something
by choroba (Cardinal) on Mar 16, 2022 at 17:19 UTC
    use utf8; tells Perl that the source code is written in UTF-8. If you want to read from an input file, you need to specify the input layer, either using
    open my $fh, '<:encoding(UTF-8)', $filename or die $!;
    or using the open pragma:
    use open IO => ':encoding(UTF-8)';
    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
    A reply falls below the community's threshold of quality. You may see it by logging in.