Here's a small test file I've created, based on what you sent
out in your last mail...
Tell me if I'm doing something wrong, but I'm getting not very
useful output, to say the least.
This is using perl 5.000 (I built with 5.001), a slightly old
version of arsperl 1.2 (hence the ARS::), and turning warnings
on in perl:
---- source:
#!/usr/local/bin/perl -w
use ARS;
$ctrl = ars_Login("remedy","guest","");
$schema = "User";
$field_id = 1;
($field = ars_GetField($ctrl, $schema, $field_id)) || die "get field";
print $field->{displayList}[0]{label}."\n";
$entry_id = 1;
$entry_id = ars_padEntryid($ctrl,"User",$entry_id);
print $entry_id . "\n";
----
---- output:
Unquoted string "limit" may clash with future reserved word at /usr/local/lib/perl5/ARS.pm line 99.
Unquoted string "label" may clash with future reserved word at fromjoel_test.pl line 11.
Use of uninitialized value at fromjoel_test.pl line 11.
Use of uninitialized value at /usr/local/lib/perl5/ARS.pm line 99.
1
----
--
David Lindes
li...@sg...
+1-415/933-4749
|