RE: [Arsperl-users] Problem with ars_GetListContainer
Brought to you by:
jeffmurphy
|
From: Hellier, R. <rl...@ls...> - 2006-02-17 17:35:30
|
Peter, If you are expecting an array result, then surely you want: my @what =3D ars_GetListContainer($c->ctrl ... rather than my $what Cheers, Richard. =20 -- Richard Hellier LSI Logic Europe Ltd Greenwood House London Road Bracknell RG12 2UB Tel: +44 1344 413183 Fax: +44 1344 413114 -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of Tyrrell, Peter Sent: 17 February 2006 17:31 To: ars...@ar... Subject: [Arsperl-users] Problem with ars_GetListContainer Hi All, Is anybody else having problems with ars_GetListContainer? It only seems to return the hash for a single item instead of the array of hashes I am expecting. my $what =3D ars_GetListContainer($c->ctrl(), 0, &ARS::AR_HIDDEN_INCREMENT,=20 &ARS::ARCON_GUIDE, &ARS::ARCON_APP) || die "ars_GetListContainer error: $ars_errstr\n"; print ref($what) . "\n"; The above call tells me it's a HASH, and decoding it's contents gives: (HASH) 0 containerName:EWebContS 0 containerType:app 0 ownerObjList: (ARRAY) I have a feeling that I am just getting back the last container instead of the list. I'm using the precompiled ARSperl1.84 (API 8) under Windows 2K with ActiveState Perl5.008007 Build 813 against a ARS 6.00.01.=20 Any help would be appreciated. Petet --- Peter Tyrrell Relston Consulting Limited ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D= 121642 _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |