GitHub
CERT Secure Coding

MSC31-PL. Do not embed global statements

This rule is a stub.

Noncompliant Code Example

This noncompliant code example shows an example where ...

Non-compliant code

Compliant Solution

In this compliant solution, ...

Compliant code

Risk Assessment

Leaking sensitive information outside a trust boundary is not a good idea.

Rule Severity Likelihood Detectable Repairable Priority Level
MSC31-PL Low Unlikely Yes Yes P3 L3

Bibliography

[ CPAN ]

Signes, Ricardo. Perl-Critic-1.116 Perl::Critic::Policy::Subroutines::ProhibitNestedSubs
Guzis, Peter. Perl-Critic-1.116 Perl::Critic::Policy::Modules::ProhibitConditionalUseStatements