I'm assuming that q->param{'at0'} is a reference to an array.
#!/usr/bin/perl -w use strict; # array : assume address 123 my @a = qw(one two three); # reference to array in address 123 # (ARRAY(0x123) my $aa = \@a; # referencec to anonymous array containing # one element, the reference to array @a, # (ARRAY(0x123)) # assume $bb = ARRAY(0x789) my $bb = [$aa]; # @{$aa} returns the array at address 123 # - which is just array @a, # the \@{$aa} returns a reference to the # array at address 123. # - so $cc = ARRAY(0x123) my $cc = \@{$aa}; # results print "array a <@a>\n"; print "reference to array a <$aa>\n"; print "reference to anon array containing reference to array <$bb> +\n"; print "contents of array referred to by \$bb <@$bb>\n"; print "reference to the array referred to by \$aa <$cc>\n"; print "contents of array referred to by \$cc, or array a <@$cc>\n" +;
Result
array a <one two three> reference to array a <ARRAY(0x148bac)> reference to anon array containing reference to array <ARRAY(0x138a6c) +> contents of array referred to by $bb <ARRAY(0x148bac)> reference to the array referred to by $aa <ARRAY(0x148bac)> contents of array referred to by $cc, or array a <one two three>
UPDATE Changed the word 'pointer' to 'reference', as per revdiablo's comment.

In reply to Re: Array Reference by Sandy
in thread Array Reference by rhumbliner

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.