On 6/22/11 Wed  Jun 22, 2011  9:44 AM, "josanabr" <john.sanab...@gmail.com>
scribbled:

> Hi,
> 
> I'm reading a program written in perl and I read this statement

It is best to put all of your post in the body of your message, and use the
title as a description of your question.

Do you have a specific question about the statement appearing in your title?
This one:

  @{$var1{$var2}}

I can tell you that the syntax of that statement implies that %var1 is a
hash, $var2 is a scalar, the element of %var1 indexed by $var2 is
$var1{$var2} and is a reference to an array, and @{$var1{$var2}} is the
dereferenced array.

See 'perldoc perlref' for information about references in Perl.



-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to