Perl: the Markov chain saw | |
PerlMonks |
Re: Contain yourselves please: THEORETICAL question about variable values being used as A PART of another variable's name.by ikegami (Patriarch) |
on Dec 15, 2016 at 17:56 UTC ( [id://1177869]=note: print w/replies, xml ) | Need Help?? |
Treat the expression giving the name of the variable as a reference. So if the name is obtained by "specific_${var_name_modifier1}_var" and it's a scalar variable, you want
In Section
Seekers of Perl Wisdom
|
|