Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: foreach-loop-local var in sub

by Anonymous Monk
on Jan 21, 2013 at 16:41 UTC ( #1014493=note: print w/ replies, xml ) Need Help??


in reply to foreach-loop-local var in sub

This also reinforces the need to always specify use strict; use warnings; in everything you do. Perl won't generate error- or warning-messages when maybe you think it should.


Comment on Re: foreach-loop-local var in sub
Replies are listed 'Best First'.
Re^2: foreach-loop-local var in sub
by choroba (Canon) on Jan 21, 2013 at 16:43 UTC
    In this particular case, the code runs without complaints even under strict and warnings.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2015-07-31 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls