Associative Arrays in Perl
Array with a string as an “index”. (Keyword/value pairs)
$input{SERIAL_ID} = 0;In the “input” array, set the array element associated with the keyword “SERIAL_ID” to zero.
print ”The serial id is: $input{SERIAL_ID}\n";Display the value associated with the keyword “SERIAL_ID”.
Almost works like two informix arrays, where one array defines keywords and another defines values.
Or like a informix “record” with associated columns.