my %testHash; my $hashRef = \%testHash; my $destref = \$hashRef->{'a'}; # Just a reference to the value, no de +reference involved. $$destref = "value"; # Assign to the dereference. print $hashRef->{'a'} . "\n";
In reply to Re: recursively building a hash of arrays of scalars
by choroba
in thread recursively building a hash of arrays of scalars
by aral
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |