in reply to Re^3: Salesforce Data Parserin thread Salesforce Data Parser
Take a reference (ie. make $aref a reference of @a):
my $aref = \@a; [download]
Extract one element from the array ref by using -> deref operator:
my $thing = $aref->[0]; [download]
Use the array circumfix operator to dereference the whole array ref at once:
my @b = @{$aref}; # used in loops, too [download]
I've proposed part of my reference howto as a tutorial here on PM. It may further help your understanding: Tutorial RFC: Guide to Perl references, Part 1.