Keep It Simple, Stupid | |
PerlMonks |
Re^2: utf8 characters in Data::Dumperby remiah (Hermit) |
on Nov 25, 2012 at 09:01 UTC ( [id://1005471]=note: print w/replies, xml ) | Need Help?? |
Thanks for reply. grondilu perl -MData::Dumper -Mutf8 -MEncode=encode -e 'print Dumper encode("UTF-8","Hiragana Letter A ...")' $VAR1 = 'Hiragana Letter A ...';I have been carelessly used Data::Dumper so far, cause it has been very handy for me. And now I think of overriding "Dumper" function and ... feels not good. case 1: Anyway, override Dumper. Maybe, I should not do this. case 2: sub classing(?), Data::Dumper. I could not "extends" Data::Dumper, cause it's new() function forced to have 2 args ... (I should learn Data::Dumper more...). Or, Do you have any other module, that cares for encoding?
In Section
Seekers of Perl Wisdom
|
|