Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Restrict encoding of std streams to lexical scope

by vsespb (Chaplain)
on Aug 13, 2013 at 08:28 UTC ( [id://1049233]=note: print w/replies, xml ) Need Help??


in reply to Restrict encoding of std streams to lexical scope

You can write your own wrapper for print() and use %^H (see perlvar) to control behaviour in lexical scopes.
  • Comment on Re: Restrict encoding of std streams to lexical scope

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found