|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Difference in Hash Declarationby moritz (Cardinal) |
| on May 07, 2012 at 07:23 UTC ( #969203=note: print w/ replies, xml ) | Need Help?? |
|
Round parens don't create any substructures. Curly braces create hash references, see perlreftut. Putting a hash reference in a position where a hash key is expected doesn't make any sense, because it is converted to a string which loses all the interesting information that way.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||