Created
March 12, 2013 14:37
-
-
Save churib/5143399 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
{1 => undef}; # works, but | |
sub foo { return }; | |
{1 => foo() } # Odd number of elements in anonymous hash | |
sub bar { return undef } | |
{1 => bar() } # works! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment