++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please Read The Disclaimer At The Bottom Of This Email
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Having installed ARSperl & ActiveState Perl 5.10.1 on Windows XP, I am able to 
connect but get errors 'ctrl is not of type' <any type>

i.e. with :-
use Data::Dumper;
use ARS;

my $c = ARS->new(-server     => 'remedy',
                 -username   => 'Tony.Edwardson',
                 -password   => 'M1nustw0') or die "Can't connect: $!";

print Data::Dumper->Dump([$c, $ars_errstr, ref($c->{'ctrl'})], [qw/$c 
$ars_errstr ctrltype/]);
my @schemas = ars_GetListUser($c);

I get :-
C:\Perl\bin>perl ars.pl
$c = bless( {
              '.debug' => 0,
              '.nologoff' => 0,
              '.catch' => {
                            '1' => 'internalWarn',
                            '3' => 'internalDie',
                            '2' => 'internalDie'
                          },
              'ctrl' => bless( do{\(my $o = 28672020)}, 'ARControlStructPtr' )
            }, 'ARS' );
$ars_errstr = undef;
$ctrltype = 'ARControlStructPtr';
ARS::ars_GetListUser: ctrl is not of type ARControlStructPtr at ars.pl line 11.


I get a similar error with most subroutines
Any ideas anyone ?

Thanks
Tony

*************************************************************************************************

This email is intended for the named recipient(s) only. Its contents are 
confidential and may only be retained by the named recipient(s) and may only be 
copied or disclosed with the consent of LCH.Clearnet Limited and/or 
LCH.Clearnet SA.   If you are not an intended recipient please delete this 
e-mail and notify postmas...@lchclearnet.com.
LCH.Clearnet Limited, LCH.Clearnet SA and each other member of the LCH.Clearnet 
Group accept no liability, including liability for negligence, in respect of 
any statement in this email.
The contents of this email are subject to contract in all cases, and 
LCH.Clearnet Limited and/or LCH.Clearnet SA makes no contractual commitment 
save where confirmed by hard copy.  
Cet e-mail et toutes les pièces jointes (ci-après le "message") sont 
confidentiels et établis à l'intention exclusive de ses destinataires. Toute 
utilisation de ce message non conforme à sa destination, toute diffusion ou 
toute publication, est interdite, sauf autorisation expresse de LCH.Clearnet 
Limited et/ou LCH.Clearnet SA. Si ce message vous a été adressé par erreur, 
merci de le détruire et d'en avertir immédiatement postmas...@lchclearnet.com.
LCH.Clearnet Limited, LCH.Clearnet SA et les autres entités du groupe 
LCH.Clearnet Group, ne peuvent en aucun cas être tenues responsables au titre 
de ce message à moins qu’il n’ait fait l’objet d’un contrat signé.
LCH.Clearnet Limited, Registered Office: Aldgate House, 33 Aldgate High Street, 
London EC3N 1EA.    Recognised as a Clearing House under the Financial Services 
& Markets Act 2000. Reg in England No.25932 
Telephone: +44 20 7426 7000              Internet: http://www.lchclearnet.com
LCH.Clearnet SA, Siège Social, 18 rue du Quatre Septembre, 75002 Paris, Chambre 
de Compensation conformément au Code Monétaire et Financier.

*************************************************************************************************

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 

--
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to