My understanding was helped by this variant (note the 'our'):
our $string = 'foo'; my $variablename = 'string'; my $temp = ${$variablename}; print $temp, $/;
Prints:
foo
In reply to Re: Scope Puzzle
by GrandFather
in thread Scope Puzzle
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |