I got an HTML file I want to parse.
I have it stored in an array or whatever.
If I want to skip to a line and go from there, what's the best way?
I'm thinking of doing something like:

   do {
       shift @input;
   } while ($input[0] =~ m/string-line to find/);


(Or a while-do as needed. Whatever.)
If I was reading from file, I could use a foreach and break (last) when I
match and read from there.
Any tips?

Reply via email to