Could be written asref $res ? $res->faultstring : $soap->transport->status
if (ref $res){ #$res is a reference and not a scalar die $res->faultstring; # exit printing the fault } else{ die $soap->transport->status; #Exit with the current transport statu +s of the SOAP object }
In reply to Re: What's the meaning of die ref $res... ?
by Utilitarian
in thread What's the meaning of die ref $res... ?
by miguelele
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |