Perl: the Markov chain saw | |
PerlMonks |
Re: Re: why don't filehandles have punctuation before their name?by sierrathedog04 (Hermit) |
on Apr 24, 2001 at 05:52 UTC ( [id://74928]=note: print w/replies, xml ) | Need Help?? |
Filehandles are uppercased so that the introduction of new perl keywords (which are always lowercased) do not break existing Perl scripts. Larry has endorsed this convention.
It seems to me, however, that new keywords could still break existing scripts if those scripts included subroutines with the same names as the keywords. So to be consistent we ought to name our subroutines in all uppercase as well, or at least throw in a few uppercase letters in our subroutine names.
In Section
Seekers of Perl Wisdom
|
|