logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Perl::Critic::Policy::Subroutines::ProhibitSubroutinePrototypes - Don't write "sub my_function (@@) {}".

Affiliation

       This Policy is part of the core Perl::Critic distribution.

Author

       Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

Configuration

       This Policy is not configurable except for the standard options.

Description

       Contrary to common belief, subroutine prototypes do not enable compile-time checks for proper arguments.
       Don't use them.

Name

       Perl::Critic::Policy::Subroutines::ProhibitSubroutinePrototypes - Don't write "sub my_function (@@) {}".

See Also