in reply to Standard handles inherited from a utf-8 enabled shell

UTF-8 output will "work" but you'll get warnings about printing "wide characters" (even without the warnings pragma enabled).

binmode(STDOUT, ':utf8') will prevent the warnings.

I recommend utf8::all which takes care of the above, plus other utf8 gotchas.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^2: STandard handles inherited from a utf-8 enabled shell
by ikegami (Patriarch) on Mar 23, 2012 at 00:18 UTC
    Without the binmode, some instances of 127-255 will work and some instances won't.