in reply to Re^2: Using GET in a loop
in thread Using GET in a loop
By "focusing on the problem", you managed to focus away the part of the code with the bug.
Now, with your assumptions tempered, it is obvious that the problem lies in the re-use of the $stripper object.
Easiest solution; make a new $stripper in each iteration.
foreach $ID (@ID) { $stripper = HTML::Stripper->new( ... ); ... }
And in case it isn't clear, this has nothing to do with get().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Using GET in a loop
by New Novice (Sexton) on Sep 17, 2004 at 10:32 UTC | |
|
Re^4: Using GET in a loop
by itub (Priest) on Sep 17, 2004 at 15:17 UTC |