my $x = ${$hash_ref}{key}; # Original syntax my $x = $hash_ref->{key}; # Newer, cleaner syntax print($foo, "bar\n"); print("${foo}bar\n"); # same print("$foobar\n"); # XXX my $x = ${"varname"}; # Symbolic reference
etc.
In reply to Re^3: Nested Hash Dereferencing Syntax
by ikegami
in thread Nested Hash Dereferencing Syntax
by jodv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |