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.

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