Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2016-10-28 00:00 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (372 votes). Check out past polls.