On Jul 16, David Arnold said:

>my @[EMAIL PROTECTED](WORD GAMENO)};
>
>How does the order of evaluation go here in order to populate @ary?

That is a hash slice on the hash reference in $state.

The @{...} is signaling we expect to get more than one value back, and the
{qw(WORD GAMENO)} is a hash access.  @{$state}{qw(WORD GAMENO)}
dereferences $state, and returns the values for the keys WORD and GAMENO.

-- 
Jeff "japhy" Pinyan         %  How can we ever be the sold short or
RPI Acacia Brother #734     %  the cheated, we who for every service
http://japhy.perlmonk.org/  %  have long ago been overpaid?
http://www.perlmonks.org/   %    -- Meister Eckhart


-- 
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