Perl::Critic::Policy::Subroutines::ProhibitSubroutinePrototypes - Don't write C.


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.

Index


NAME

Top

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

AFFILIATION

Top

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

DESCRIPTION

Top

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

CONFIGURATION

Top

This Policy is not configurable except for the standard options.

AUTHOR

Top

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

COPYRIGHT

Top


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.