Octavian Rasnita wrote:
Hi all,
Hello,
Can you please tell me what's the difference between these two types of
getting the reference to @a array?
my $ref = [ @a ];
This copies the array to an anonymous array and returns a reference to that
anonymous array. It is equivalent to:
my $ref = do { my
Hi all,
Can you please tell me what's the difference between these two types of
getting the reference to @a array?
my $ref = [ @a ];
and
my $ref = [EMAIL PROTECTED];
If I do:
use Data::Dumper;
print Dumper $ref;
Both ways of accesing the @a array with a reference seems to be the same,
because D