I guess I'm used to being able to tell whether a variable is a number or a string just from the prefix character (which is handy when reading unfamiliar or forgotten code)./me gives Wysardry the odd look.
You mean the Hungarian notation? You can do that in Perl just as well. In fact, there's no requirement in those other languages that the type inferred from your conventional prefix actually agrees with the actual declared type. Nothing prevents you from declaring an integer strFoo or a string pointer iBar. Because it's only a convention.
If you really feel the need for this kind of "self-documentaion", go ahead. Nothing is stopping you.
In reply to Re: Re: Re: Re: Re: Using "my" suppresses "Name used only once" warning?
by bart
in thread Using "my" suppresses "Name used only once" warning?
by Wysardry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |