develooper Front page | perl.perl5.porters | Postings from January 2009

use utf8; foo =>

Thread Next
Gisle Aas
January 14, 2009 04:44
use utf8; foo =>
Message ID:
Why do we have a difference in how 'foo' is (internally) encoded here?

   use utf8;
   use Devel::Peek; Dump([foo => 'bar']);   # 'foo' becomes an UTF8  
   use Devel::Peek; Dump(['foo' => 'bar']); #

I get the same result for both 5.8 and 5.10.  The first 'foo' becomes  
UTF8-infected, but not in the second one.

(Reported in


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About