Table of Contents


Attribute Test Script

This method will run a short test of the attribute system. It will use a dummy attribute called Frog that will be created and deleted by this test process.

The currently-supported command-line options are as follows.

user

Name suffix to be used for log files. If omitted, the PID is used.

trace

Numeric trace level. A higher trace level causes more messages to appear. The default trace level is 2. Tracing will be directly to the standard output as well as to a traceUser.log file in the FIG temporary directory, where User is the value of the user option above.

sql

If specified, turns on tracing of SQL activity.

background

Save the standard and error output to files. The files will be created in the FIG temporary directory and will be named errUser.log and outUser.log, respectively, where User is the value of the user option above.

h

Display this command's parameters and options.

phone

Phone number to message when the script is complete.

MatchLists

my $matchFlag = MatchLists($list1, $list2);

Return TRUE if the two lists have the same elements, else FALSE. The matching is done purely stringwise.

list1

Reference to a list of items.

list2

Reference to another list of items.

RETURN

Returns TRUE if the lists have matching elements.

MatchListsOfLists

my $matchFlag = MatchListsOfLists($list1, $list2);

Compares two lists of lists, ensuring that both of the main lists have matching elements (though not necessarily in the same order.

list1

Reference to the first list of lists.

list2

Reference to the second list of lists.

RETURN

Returns TRUE if every sublist in the first list is found in the second list and vice versa.