Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 taking refuge in the Monastery: (15)
As of 2014-09-18 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (116 votes), past polls