...
DCL31-EX0: This rule does not apply to object methods. Object methods are easy for the parser to distinguish from built-in functions or keywords because of their distinct syntax.
Related Guidelines
...
...
...
...
...
...
...
Risk Assessment
Using reserved keywords can lead to unexpected program behavior and surprising results.
...
Tool | Diagnostic |
---|---|
Perl::Critic | Subroutines::ProhibitBuiltinHomonyms |
Bibliography
[Conway 052005] | "Homonyms," p. 177 |
[CPAN] | Elliot Shank, Perl-Critic-1.116 Subroutines::ProhibitBuiltinHomonyms |
[Wall 2011] | perlfunc, perlsyn |
...