> I am trying to write a Perl script w/ ars module that reads some records > from a DB and creates new records in a custom form I have. It has a bunch of > selection fields, which in the past I would hard code and convert the string > values in the DB to the integer value that createEntry wants. > > Does anyone have some advice on how I can do this without hardcoding ?
use ars_GetField to fetch the selection values. you can then easily map from name to value. jeff ------------------------------------------------------------------------- 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