Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: IO::File and use open qw(:std :utf8)

by mbethke (Hermit)
on Jan 30, 2013 at 03:17 UTC ( #1015952=note: print w/ replies, xml ) Need Help??


in reply to IO::File and use open qw(:std :utf8)

The open pragma is lexically scoped so its effect doesn't extend to the open() performed internally by IO::File. Unfortunately I don't know if there's a way to make this effect global, short of "insert these opcodes on top of every loaded module"-style hacks.

Edit: hum, should've read Stackoverflow first ...


Comment on Re: IO::File and use open qw(:std :utf8)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-08-20 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (111 votes), past polls