Why do you say that your first examples are better? I don't see why they are better.
Of course, with your second examples, it's important to know the quoting rules for a) the "fat comma" and b) hash index braces.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Correct keys in hashes
by davorg
in thread Correct keys in hashes
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |