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 Data::Dumper prints the same thing for $ref.

I need to access an array reference in a module, like...

my $self = [ @a ];
or...
my $self = [EMAIL PROTECTED];

and I don't know if there will be any differences...

Thank you much.

Teddy


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to