Nov 8, 2010, 12:06 PM
Re: [gooroo175] reference on reference array
my $var1 = 1;
my $var2 = 2;
my $var3 = 3;
my $refRef = [\($var1, $var2, $var3)];
print Dumper $refRef;
Note: the square brackets return a reference to an array.
rovf raised a good point. Line 8 of the above code is exactly what you asked for, but may not be what you need.
(This post was edited by BillKSmith on Nov 9, 2010, 7:56 AM)