in reply to my code is erroring out when i have it read its urls from a list
'IF' is a branching construct, not a loop, so you don't need the labels to do this. Restructure it to:OUTER: while( ... ) { ... INNER: if ( ... ) { ... redo OUTER; } else { ... } }
This might actually fix your problem as well....while( ... ) { ... if ( ... ) { next; # <-- next is all you need } else { ... } }
-Blake
|
|---|