khippy has asked for the wisdom of the Perl Monks concerning the following question:
I tried the following:$name="bam"; $$name=1; # Sets $bam
$name=chr(97); $$name=1; # shall set $a bot doesn't
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: scalar symbolic reference to variables
by joealba (Hermit) on May 24, 2002 at 16:26 UTC | |
|
Re: scalar symbolic reference to variables
by Joost (Canon) on May 24, 2002 at 16:02 UTC | |
by khippy (Scribe) on May 24, 2002 at 17:32 UTC | |
|
Re: scalar symbolic reference to variables
by BUU (Prior) on May 24, 2002 at 15:59 UTC |