in reply to while nested in foreach

If I run this, I get:
Label not found for "next " at /tmp/next line 9, <RAW> line 1.
which doesn't quite surprise me. Are you sure you don't want an 'if' between the 'next' and the condition?

Abigail

Replies are listed 'Best First'.
Re: Re: while nested in foreach
by ear (Acolyte) on Dec 01, 2003 at 14:28 UTC
    Teach me to skip that second cup of coffee. I've been playing with this for 30 mins trying to figure out why it was only looking at the first line of data then stopping. I was sure it was doing the next on the filename istead of the raw data. Ugh. Thanks much, that of course fixed the problem.