But when that error happens, the whole thing stops.It dies. Try
my $service; eval { $service = SOAP::Lite -> service('http://server/function.asmx?WSDL'); } || soapGetBad(); # $@ will have the error message, perldoc -f eval
update: fixed cut'n'paste error (extra my)
In reply to Re: Soap::Lite Error Handling
by PodMaster
in thread Soap::Lite Error Handling
by ecuguru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |