in reply to using unless($code == 200)....
So no matter how much you yell at it it wont get a job?
:-)
Ok seriously, you'll have to explain what you mean by that cause next is the way to do this. Of course you havent said where $response gets set so its a bit hard to tell where the next should go of course, so I've done it like this:
HTHwhile (<IN>) { $url = $_; $response = somefunc(); next if $response==500; unless($response == 200) { } }
Yves
--
You are not ready to use symrefs unless you already know why they are bad. -- tadmc (CLPM)
|
|---|