Perl::...totypes(3pm)
π NAME π
okay bestie, you're reading Perl::...totypes(3pm) from the User Contributed Perl Documentation, and this policy is Perl::Critic::Policy::Subroutines::ProhibitSubroutinePrototypes β don't write sub my_function (@@) {}. That's the assignment. β¨
π«Ά AFFILIATION π«Ά
This Policy is part of the core Perl::Critic distribution. So it's not a random side quest β it ships with the main character. π
π DESCRIPTION π
Okay so real talk: contrary to common belief, subroutine prototypes do not enable compile-time checks for proper arguments. Like, they are not giving what people think they're giving. π
So don't use them. Periodt. π«
π CONFIGURATION π
This Policy is not configurable except for the standard options. No secret knobs, no extra settings, no custom slay β just the standard options and that's it. π
πΈ AUTHOR πΈ
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com> β iconic. π«Ά
π COPYRIGHT π
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.
Bye bestie π β this page comes from perl v5.42.0, dated 2024-10-23, and its footer label is Perl::...totypes(3pm).
π¦ where this page comes from
- opensuse-leap 16.0: perl-Perl-Critic 1.156.0-bp160.1.1 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms