Hi:I am trying query a schema and print a fieldname and values for all 
records with a qualifying filter. I can't seem to figure out which 
function to use and how. This is what I have now and I get 0 records. Is 
asr_GetListEntry the right function? Does someone have a sample script 
or point me to the right one in the example dir?

$schema = "My:Alarm Base";
$qs = qq/'Category' = "Voice"/;
($qual = ars_LoadQualifier($ctrl,$schema,$qs)) ||
    die "error in ars_LoadQualifier";

%entries = ars_GetListEntry($ctrl, $schema, $qual, 0);

foreach $entry_id (sort keys %entries) {
    printf("%s %s\n", $entry_id, $entries{$entry_id});
}


Thanks
Ravi


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to