Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by Anonymous Monk
on May 25, 2010 at 08:33 UTC ( [id://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; }

Log In?
Username:
Password:

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

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

    No recent polls found