Perl has a large number of builtin functions, they are described on the {{ Wiki Markup perlfunc
}} manpage \[ [Wall 2011|AA. Bibliography#Manpages]\]. Perl also has a handful of reserved keywords such as {{while
}}; they are described on the {{perlsyn
}} manpage \[ [Wall 2011|AA. Bibliography#Manpages]\].
Do not use an identifier for a subroutine that has been reserved for a builtin function or keyword.
...
Tool | Diagnostic |
---|---|
Perl::Critic | Subroutines::ProhibitBuiltinHomonyms |
Bibliography
\[[CPAN|AA. Bibliography#CPAN]\] [Elliot Shank, Perl-Critic-1.116|http://search.cpan.org/~elliotjs/Perl-Critic-1.116/] [Subroutines::ProhibitBuiltinHomonyms|http://search.cpan.org/dist/Perl-Critic/lib/Perl/Critic/Policy/Subroutines/ProhibitBuiltinHomonyms.pm]
\[[Wall 2011|AA. Bibliography#Manpages]\] [perlfunc|http://perldoc.perl.org/perlfunc.html], [perlsyn|http://perldoc.perl.org/perlsyn.html] Wiki Markup
[Wall 2011] perlfunc, perlsyn
...
01. Declarations and Initialization DCL32-PL. Every module must return a true value