Created
April 11, 2010 04:11
-
-
Save xaicron/362489 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use 5.010; | |
use Encode; | |
use Devel::Peek; | |
my $str = decode_utf8 'ほげ'; | |
{ | |
use utf8; | |
my $hash = {hoge => $str}; | |
Dump $_ for keys %$hash; | |
} | |
{ | |
my $hash = {hoge => $str}; | |
Dump $_ for keys %$hash; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment