While most of the suggestions are good, I take objection with two:
What's wrong with using barewords as hash keys? The quotes mostly clutter up the syntax, and it's rare that you want a function call inside a hash key access.
Instead of using global / glob filehandles and closing them manually, I recommend to use lexical filehandles, which will close automatically when the enclosing scope is left.
In reply to Re^4: Lose first element of hash in hash ..
by Corion
in thread Lose first element of hash in hash ..
by theantler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |