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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://20674]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-03-19 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found