in reply to Re: syntax for hashes with variable in name
in thread syntax for hashes with variable in name
Hash (and array) slices always start with @. No slices start with %.
my %{"$name"};
is the same as
my %{$name}
which is the same as
my %$name; # Symbolic dereference
which no more works than
my %$ref; # Generic deference
|
|---|