in reply to Anonymous or normal hashes?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Anonymous or normal hashes?
by ysth (Canon) on Jan 09, 2004 at 18:02 UTC |