On Sep 19, Luinrandir said:
From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]>
my $g = $main::{$Player{Location} . "::"}{Options};
my $value = $$g;
or, as one line:
my $value = ${ $main::{$Player{Location} . "::"}{Options} };
is the double $$ in $$g a mistake or real?
If it was a typo, what on earth would I have written it for? What would
$g = ...;
$value = $g;
do that
$value = ...;
wouldn't do?
--
Jeff "japhy" Pinyan % How can we ever be the sold short or
RPI Acacia Brother #734 % the cheated, we who for every service
http://www.perlmonks.org/ % have long ago been overpaid?
http://princeton.pm.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>