in reply to Re^2: encoding for $!
in thread encoding for $!

sorry, mistyped.

use DecodedMsg; tie $! , "DecodedMsg";
see test4 example. But I also think setting LANG to en_US.UTF-8 is better solution. regards.

Replies are listed 'Best First'.
Re^4: encoding for $!
by powerman (Friar) on Jun 29, 2014 at 11:22 UTC
    Isn't tie $! will break existing $! magic?