Beefy Boxes and Bandwidth Generously Provided by pair Networks
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 ( #20674=note: print w/replies, xml ) Need Help??


in reply to passing a multidimentional hash-sub-hash (to a sub and back again)

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://20674]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2020-05-31 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (173 votes). Check out past polls.

    Notices?