**
Are you trying to use the example scripts? They weren't
updated for the new API, so several of them don't work.
Look at the ARSperl documentation for the calls. The
ars_GetListEntry and ars_GetListEntryWithFields are wrong.
The new API requires an additional argument to support
chunking. The old call looks like:
@entries = ars_GetListEntry($ctrl, $schema, $qual,
0)
The new call should be:
@entries = ars_GetListEntry($ctrl, $schema, $qual, 0,
0)
The perl API wrapper should default to 0 if the parameter
isn't specified, but I've never seen it work. The extra parameter is definitely
required if you use the long format that specifies fields to return and the sort
order.
@entries = ars_GetListEntry($ctrl, $schema, $qual, 0, 0,
[], FieldID, 1)
From: Luke, Brian [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 12:49 PM To: arslist@ARSLIST.ORG Subject: Re: ARSPerl and Perl 5.8.6 issues Mine compiled fine on RHEL4 U2, perl
5.8.5.
How did your "make test" results come back? Where
there compilation warnings/errors from the "make"?
-Brian Luke From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Barr, Scott Sent: Monday, July 03, 2006 3:23 PM To: arslist@ARSLIST.ORG Subject: ARSPerl and Perl 5.8.6 issues Has anyone been able to get ARSPerl
1.85 to compile and work with Perl 5.8.6? * Did you have to do anything
special to the make files? * Did you do this on a 64 or 32 bit
integer system? I am having issues with no data
being returned from method calls and seg faults on script
termination... I have searched the ARSPerl Archives
but have only found issues with perl 5.8.6 and no solutions.
:| Any input would be great
appreciated. Red Hat Enterprise Linux WS release
3 (Taroon Update 4) 2.6.12-0.2axenU ARSPerl 1.85 compiled with 6.3
libs Perl
5.8..6 Connecting to AR Server:
5.1.2p1389 -Scott
Remedy
Team Office Hours:
*
Be sure to sign up to Remedy-News@
to keep up to date on changes to the Remedy service!
|