And that is deprecated? Why is that? I think it's quite a nice way of getting the value of a variable which name you don't yet know.$the_var_i_want = "this is the actual value I want to get"; $the_name = <STDIN>; #say, this would be "the_var\n" chomp $the_name; print ${"${the_name}_i_want"};
In reply to Re: Re: Re: Runtime Hash Variable access
by muba
in thread Runtime Hash Variable access
by spaceforsrini
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |