in reply to Multiple tag syntax
There are basically two ways to create such a beast. On is to use an array, and pass a reference to it:
my @array = (1, 2, 3); my $array_ref = \@array; # the \ takes the reference
The other way is to use square brackets to create an anonymous array reference:
my $array_ref = [1, 2, 3];
More on this, and the difference between the two, can be found in perlreftut.
|
|---|