Problems? Is your data what you think it is? | |
PerlMonks |
Re: Correct keys in hashesby gmpassos (Priest) |
on Aug 25, 2004 at 17:52 UTC ( [id://385759]=note: print w/replies, xml ) | Need Help?? |
Quote a key is NOT better than just use a word! When a HASH keys is declared a word will be a word (will never be treated as a sub call). So, write (time => 'foo') is not the same of (time() => 'foo'). If you want to lose your time quoting this is your choice.
Graciliano M. P.
In Section
Seekers of Perl Wisdom
|
|