Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: PAR will not play nice with opening encoding(utf8)

by Anonymous Monk
on May 25, 2010 at 08:33 UTC ( #841513=note: print w/ replies, xml ) Need Help??


in reply to PAR will not play nice with opening encoding(utf8)

I think you've found a perl bug, if PerlIO::encoding is missing, open with encoding will fail with no indication this is the problem. You should submit a report :)

#!/usr/bin/perl -- { # you get no indication that the problem is that PerlIO/encoding.pm # is missing, same when you rename PerlIO/encoding.pm $INC{'PerlIO/encoding.pm'}=__FILE__; open my($in), '<:encoding(utf8)', __FILE__ or die int($!)," $!\n",int($^E)," $^E "; close $in; }


Comment on Re: PAR will not play nice with opening encoding(utf8)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-11-23 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (127 votes), past polls