in reply to SOAP::WSDL accessing returned data
print $result->get_subscribers()->get_Subscriber().[1]->get_firstName; But I just get the error: .... Do I need to bless the array objects - please help!
You in essence have print [1]->get_firstName and [1] is not a blessed reference.
You probably meant to write
orprint $result->get_subscribers->get_Subscriber->[0]->get_firstName;
orprint $result->get_subscribers->[0]->get_firstName;
or some such :) I can't really tell because I can't run the code.print( ($result->get_subscribers)[0]->get_firstName );
|
|---|