On Mon, 19 Sep 2005, Luinrandir wrote:
> From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]>
>
> > my $g = $main::{$Player{Location} . "::"}{Options};
> > my $value = $$g;
>
> is the double $$ in $$g a mistake or real?
It's real.
He's dereferencing that which $g refers to.
Read up on references.
--
Chris Devers
{¬[³)÷|Ï/:Ð
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
