in reply to (jeffa) Re: Of variable {mice} and its name {man}.
in thread Of variable {mice} and its name {man}.

jeffa, thanks for your reply ;-).

I'm not strongly positive on whether to use plurals or singulars for arrays or hashes. I had to struggle with that one a couple times and never seem to be able to find a common ground. In the back of my mind, I too feel that avoiding using plurals in similar instances is the sane thing to do.

"When confronted with mental block on finding a good name..."

Of course, variable naming shouldn't be taken to extreme (as also pointed out by Zaxo from the CB conversation ;-). More often then not, I find myself in a similar position where I am not able to come up with a suitable name in a couple minutes. Often, I simply take the best knowledgable guess and proceed. Optionally, leaving a comment just the way you do.



_____________________
$"=q;grep;;$,=q"grep";for(`find . -name ".saves*~"`){s;$/;;;/(.*-(\d+) +-.*)$/; $_=["ps -e -o pid | "," $2 | "," -v "," "];`@$_`?{print"+ $1"}:{print" +- $1"}&&`rm $1`; print$\;}