jettero has asked for the wisdom of the Perl Monks concerning the following question:
Now, nevermind how silly this seems, I have a good reason which isn't worth explaining... How can I get this to work?
perl -Mstrict -e 'no strict "refs"; my $x = 8; my $xr = "x"; my $y = ${ $xr }; print "$y\n";'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: scalar ref help?
by jeffa (Bishop) on Dec 16, 2002 at 14:56 UTC | |
by slife (Scribe) on Dec 16, 2002 at 16:04 UTC | |
|
Re: scalar ref help?
by Tanalis (Curate) on Dec 16, 2002 at 15:02 UTC | |
|
Re: scalar ref help?
by Aristotle (Chancellor) on Dec 16, 2002 at 19:46 UTC |