Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: how to store an array to a pseudohash?

by philipbailey (Curate)
on Jun 28, 2008 at 08:36 UTC ( [id://694497]=note: print w/replies, xml ) Need Help??


in reply to how to store an array to a pseudohash?

Others have explained how to store an array in a hash. It might also be worth mentioning that your code is equivalent to:
my $slice = { kind => $kind, prop => $prop, item => 5, 6, 7, 8, 9, 10, 11 };
Which is also equivalent to:
my $slice = { kind => $kind, prop => $prop, item => 5, 6 => 7, 8 => 9, 10 => 11 };

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-23 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found