Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: attempting to achieve something

by choroba (Cardinal)
on Mar 16, 2022 at 17:19 UTC ( [id://11142148]=note: print w/replies, xml ) Need Help??


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

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]

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142148]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found