in reply to Re: How a for() assignment works
in thread How a for() assignment works

You did get rid of the duplication.

But it no longer prints what the OP wants it to print.
And it issues warnings.
And memory usage was needless increased.

One step forwards, three steps back.

Replies are listed 'Best First'.
Re^3: How a for() assignment works
by igelkott (Priest) on Mar 07, 2008 at 09:30 UTC
    Guess I got a little carried away and overlooked the important "if exists" requirement. This is the cause of the warnings. Memory increase doesn't seem to be that big a deal but I didn't check this on anything big.

    Thanks for the reminder to look both ways before jumping into traffic.