Welcome to the Monastery | |
PerlMonks |
Re: passing a multidimentional hash-sub-hash (to a sub and back again)by ase (Monk) |
on Jul 01, 2000 at 00:34 UTC ( [id://20674]=note: print w/replies, xml ) | Need Help?? |
I think the answer to your question lies in the fact that return(%ALLDATA) returns a list of values (the keys and values of %ALLDATA while return(\%ALLDATA)returns one value: a scalar that is a reference to the hash. Hope that helps, -ase
In Section
Seekers of Perl Wisdom
|
|