George:

Hi, Remedy::ARSTools is a perl wrapper I wrote long ago for ARSperl. It  
doesn't work well with ARSPerl > 1.74.

A lot of the things I had built in Remedy::ARSTools are now available  
in the ARSPerl distribution, so this module is pretty much deprecated.

I've been meaning to either fix the module, or update the documentation  
on CPAN to reflect the fact that it's broken past 1.74, but I've not  
been able to find the time to do either.

it's probably better just to use the ARSperl distribution's API rather  
than my perl wrapper.

-Andrew ;-)

On Nov 3, 2006, at 6:39 AM, George Barnett wrote:

> Hi All,
>
> I'm new to the Arsperl API and I'm wondering if anybody can help.  I'm
> using Remedy-ARStools 0.7 to interface and I'm having trouble pulling
> out a ticket:
>
> #!/usr/bin/perl -w
>
> use Remedy::ARSTools;
> use Data::DumpXML;
> use Data::Dumper;
>
> # HPD:HelpDesk - HD's
> # CHG:Change   - CHG's
> # CHG:Task     - TSK's
>
> @fields = ("Change ID+");
>
> $remedy = Remedy::ARSTools::new( Server => remserver, User =>  
> "remuser",
> Pass => "rempass", ConfigFile => "RemedyConfig.conf" ) || die
> ($Remedy::ARSTools::errstr);
>
> $data = $remedy->Query(QBE => "1=9525", Schema => "CHG:Change", Fields
> => [EMAIL PROTECTED]) || die $remedy->{errstr};;
>
> print dumper($data);
>
>
> When I run this, I get the following:
>
> # ./foobar.pl
> can't get ticket list: [ERROR] GetListFields must be an ARRAY reference
> (ARERR #80005)
>
> Is this a common mistake?  Perhaps somebody could point me in the right
> direction?
>
> Thanks in advance,
>
> George
>
>
>
> ----------------------------------------------------------------------- 
> --
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your job  
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Arsperl-users mailing list
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
Andrew N. Hicox
Hicox Information Systems LLC
Manassas, VA  USA
http://hicox.com
[EMAIL PROTECTED]
703-367-9085


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to