No such thing as a small change | |
PerlMonks |
"use encoding" behaviour change under Perl 5.10?by gnosek (Sexton) |
on Mar 21, 2009 at 11:32 UTC ( [id://752220]=perlquestion: print w/replies, xml ) | Need Help?? |
gnosek has asked for the wisdom of the Perl Monks concerning the following question: Hello all, I upgraded some of my systems to Perl 5.10 and have fought for several hours with a change that boils down to:
I cannot easily remove the 'use encoding "utf8"' from my script as the pragma does "some magic" that prevents encoding-related disasters (double-encoded strings) further down the road. This change means (I really hope someone will correct me) that I have to maintain my own copy of CGI::Util with "use bytes" inside "sub unescape". The offending statement is:
Does anybody know the reason behind this change? Would that be a bug or a bugfix? Best regards,
Back to
Seekers of Perl Wisdom
|
|