On Thu, Jul 10, 2003 at 12:28:17PM -0400, Paul Kraus wrote:
> That did correct the problem. I don't understand what local $_; did.
> So a while loop will change $_ if it is inside a foreach loop since both
> use $_?

Read M.J. Dominus' "Coping with Scoping", available at

http://perl.plover.com/FAQs/Namespaces.html

and be enlightened :-)

HTH,

        Elias

-- 
There is a theory which states that if ever anyone discovers exactly
what the Universe is for and why it is here, it will instantly
disappear and be replaced by something even more bizarre and
inexplicable.

There is another which states that this has already happened.
        -- Douglas Adams

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to