Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: how to store an array to a pseudohash?

by philipbailey (Chaplain)
on Jun 28, 2008 at 08:36 UTC ( #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
Node Status?
node history
Node Type: note [id://694497]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-08-17 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (290 votes). Check out past polls.

    Notices?