http://qs321.pair.com?node_id=65293


in reply to Does while localize $_?
in thread What would you do?

No, while doesn't use automatic localizing. Foreach does.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Does while localize $_?
by tenya (Beadle) on May 25, 2001 at 07:46 UTC
    Which is helpful because this allows while loops inside the foreach loop to use the foreach $_. Correct?