Created
January 28, 2014 12:15
-
-
Save hisaichi5518/8666627 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; | |
| sub hoge { | |
| my $test = {}; | |
| return { | |
| hoge => fuga() # ここに,がない | |
| %{$test}, | |
| } | |
| } | |
| sub fuga { | |
| +{} | |
| } | |
| use Data::Dumper; | |
| warn Dumper hoge(); | |
| __END__ | |
| Odd number of elements in anonymous hash at /Users/hisaichi5518/projects/kuwata/test.pl line 7. | |
| $VAR1 = { | |
| 'hoge' => '140683826447000' | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment