I confess I always wrap array references: @{$arr}
I also use many unnecessary parens: my ($onevar);
Subroutines that return values always: return $value;
And I avoid using $_.
Thanks for providing the opportunity to confess my transgressions, interesting subject, but I am still unable to commit to changing my superstitious ways.
I am curious why you would never use whitespace in a hash key. Quoting hash keys for consistency seems reasonable to me. Maybe the real, underlying, superstition is whitspace in hash keys?
YuckFoo
In reply to Re: Coding superstitions
by YuckFoo
in thread Coding superstitions
by George_Sherston
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |