>>>>> "Drew" == Drew Taylor <[EMAIL PROTECTED]> writes:
Drew> I would like to return a single data structure, but order IS
Drew> important (hence the current setup). I was thinking of using
Drew> an array, where each element is a hash reference. So I would
Drew> return something like this:
In this case pseudohashes are absolutely what you're looking for.
They'll also have the smallest impact on your code as you can walk
@{$ref}[1..foo] when you need the items in order and grab $ref->{key}
when you need a particular value. Just remember that $ref->[0] is
special.
--
Stephen
"Farcical aquatic ceremonies are no basis for a system of government!"