laziness, impatience, and hubris | |
PerlMonks |
Re: Restrict encoding of std streams to lexical scopeby vsespb (Chaplain) |
on Aug 13, 2013 at 08:28 UTC ( [id://1049233]=note: print w/replies, xml ) | Need Help?? |
You can write your own wrapper for print() and use %^H (see perlvar) to control behaviour in lexical scopes.
In Section
Seekers of Perl Wisdom
|
|