Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 browsing the Monastery: (8)
As of 2016-09-27 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (501 votes). Check out past polls.