Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 contemplating the Monastery: (3)
As of 2015-11-30 05:14 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (758 votes), past polls