I like the idea of prefixing variables. It sure can't hurt, especially since Perl doesn't do strong typing.
in reply to Re: Favorite Descriptive Variable Name
in thread Favorite Descriptive Variable Name
I used to do this with VBA code because a very solid manual on VBA recommended it
as a naming convention, until I showed the code to a consultant who was to build a
SQL 7 replacement for my Acccess application, who snickered and said that "real" programmers didn't do it that way.
But now I've seen his code, and I don't care what he says. Personally I think anything that helps get the bugs out is good.
Update: After reading tilly's comments, I'm reminded of the real reason I stopped using these prefixes in VBA, it was a pain in the kiester to go through and change all the instances of that variable name. In Perl I don't use anything like this because I tend to keep most of my blocks small enough that only a few pages of scrolling are needed to read the entire routine.