"be consistent" | |
PerlMonks |
Re: hash n' paramsby araqnid (Beadle) |
on Apr 07, 2001 at 20:38 UTC ( [id://70727]=note: print w/replies, xml ) | Need Help?? |
When you're initialising a hash that contains a group of settings, you can put them together like this:
which IMHO looks nicer. You're explicitly allowed to use barewords on the left hand side of a =>, even if "use strict" is in force.
In Section
Seekers of Perl Wisdom
|
|