in reply to parsing an array
Iterating over the result list should give you all the information you need.
See also: perlretut, perlintro.