Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Plural variable naming (or not?)by thelenm (Vicar) |
on Mar 19, 2002 at 23:53 UTC ( [id://152890]=note: print w/replies, xml ) | Need Help?? |
Scalars should be singular, it really throws me off when they're not, $fields just really doesn't look right.
I agree with you on that one, although sometimes I will use a plural scalar if it's a named reference to an array, e.g. That also helps me to remember that it's not a "normal" scalar, but that it's really referring to something plural.
In Section
Meditations
|
|