Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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";


Comment on Re: How can I get a Unicode @ARGV?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (18)
As of 2014-10-23 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (128 votes), past polls