in reply to Soap::Lite Error Handling
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)
|
|---|