Unable to get enumeration values from Status field on ARS Perl 1.93
Brought to you by:
jeffmurphy
Hello,
I am on ARS Perl version 1.93 and have compiled ARS Perl against 7.6.04 32 bit.
I am trying to get the list of enum values for the Status field with the below code and receiving NULL values instead of an array.
I am a beginner with ARSPerl and request your guidance.
Code snippet:
$fp = ars_GetField($ctrl, $SCHEMA, $field_ids{Status});
$limit1 = $fp->{limit};
if (ref($limit1) eq "HASH") { # for api lib 5 and >
$h1 = $limit1->{enumLimits};
$z1 = $h1->{regularList};
@labels = @$z1;
Also tried the below but results into nothing
@labels = @{$fp->{limit}->{enumLimits}->{regularList}};
print "Status values: ".join(',', @labels)."\n";
Really need help here. Please let me know if you need any more information.