And you don't need a hash reference to pass hashes quickly to subroutines: you can generate references to hashes "on the fly":
Both become the same type of hash reference inside sub foo.foo( \%hash ); # hashref created "on the fly" by taking ref of hash foo( $hashref ); # use hash reference stored in a scalar
Hope this helps.
Liz
In reply to Re: Anonymous or normal hashes?
by liz
in thread Anonymous or normal hashes?
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |