in reply to Looping with SOAP::Lite fails

$instance = $instance . '/sys_script_list.do?SOAP';

Each time round the loop you do this, so $instance keeps getting this string appended to it. That's probably not what you want. Move that to before the start of the loop so it only happens once.

If you require any further assistance I suggest that you provide a bit more detail on the problem than simply "it breaks."