in reply to Re^4: Salesforce Data Parser
in thread Salesforce Data Parser

Take a reference (ie. make $aref a reference of @a):

my $aref = \@a;

Extract one element from the array ref by using -> deref operator:

my $thing = $aref->[0];

Use the array circumfix operator to dereference the whole array ref at once:

my @b = @{$aref}; # used in loops, too

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.

Replies are listed 'Best First'.
Re^6: Salesforce Data Parser
by bigdatageek (Novice) on Aug 06, 2015 at 19:15 UTC
    ahhh excellent, thanks for the reference! (no pun intended)