Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: How can I get a Unicode @ARGV?

by philiprbrenan (Monk)
on Aug 31, 2012 at 11:51 UTC ( #990988=note: print w/replies, xml ) Need Help??

in reply to How can I get a Unicode @ARGV?

An alternative might be to place the unicode text in a file and then drop that file name on your executable. It would then be staight forward to read the unicode text via:

open(my $F, "<:encoding(UTF-8)", $f) or die "Cannot open $f for unic +ode input";

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2016-10-26 17:59 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (345 votes). Check out past polls.