Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: This is really a Perl BUG with my?! Need some advice...

by asarih (Hermit)
on Jan 24, 2004 at 04:37 UTC ( [id://323783] : note . print w/replies, xml ) Need Help??


in reply to This is really a Perl BUG with my?! Need some advice...

I don't think this is a bug at all.

When $n/3 does not contain a dot, that statement is not executed at all, thus preserving the value of $local from the previous iteration.