DEV Community

Discussion on: Perl 5.30 deprecates use of my() in a false conditional

Collapse
 
ribugent profile image
Gerard Ribugent Navarro

I saw this pattern on old code at the company I work. Fortunately, there is a perl critic policy to detect this mistakes.

metacpan.org/pod/Perl::Critic::Pol...

Collapse
 
mitchjacksontech profile image
Mitch Jackson

Thanks for this! I will start using this policy.