Name : perl-Perl-Critic-StricterSubs
| |
Version : 0.60.0
| Vendor : Mageia_Org
|
Release : 1.mga9
| Date : 2022-04-28 11:56:03
|
Group : Development/Perl
| Source RPM : perl-Perl-Critic-StricterSubs-0.60.0-1.mga9.src.rpm
|
Size : 0.11 MB
| |
Packager : tv < tv>
| |
Summary : Perl::Critic plugin for stricter subroutine checks
|
Description :
As a dynamic language, Perl doesn\'t require you to define subroutines until run-time. Although this is a powerful feature, it can also be a major source of bugs. For example, you might mistype the name of a subroutine, or call a subroutine from another module without including that module or importing that subroutine. And unless you have very good test coverage, you might not know about these bugs until you have already launched your code.
The the Perl::Critic::Policy manpage modules in this distribution are aimed at reducing errors caused by invoking subroutines that are not defined. Each Policy can be used separately. But when applied together, they enforce a specific and deliberate coding style that minimizes the chance of writing code that makes calls to undefined subroutines.
This coding style will not appeal to everyone. Some folks will surely find this coding style to be too verbose or too restrictive. In particular, importing via the Exporter manpage tags and pattern matching is purposely not supported. But hopefully, these Policies will encourage you to consciously consider the inherent trade-offs of your current coding style.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/9/armv7hl/media/core/release |