in reply to Re^3: Contain yourselves please: THEORETICAL question about variable values being used as A PART of another variable's name.
in thread Contain yourselves please: THEORETICAL question about variable values being used as A PART of another variable's name.
Not really, there are many reasons, but that's not part of it! :)
Ikegami's code is just a condensed one liner version of
$string= "construct variable name"; say $$string;
not much different from dereferencing syntax.
On another note: Someone is trying to troll here ATM, better don't feed. :)
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|