Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Closure warning with Perl 5.14? (perlcritic)

by toolic (Bishop)
on May 19, 2011 at 12:33 UTC ( #905688=note: print w/replies, xml ) Need Help??


in reply to Re^2: Closure warning with Perl 5.14?
in thread Closure warning with Perl 5.14?

I'll update my Best Practices.
perlcritic detects this by default:
Variable declared in conditional statement at line , column . Declare + variables outside of the condition. (Severity: 5)
Perl::Critic::Policy::Variables::ProhibitConditionalDeclarations

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://905688]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2021-01-26 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?