Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: Re: Hash of arrays

by strider corinth (Friar)
on Nov 04, 2002 at 21:05 UTC ( [id://210296]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Hash of arrays
in thread Hash of arrays

Not quite as good as broquaint's score, but close:

y/:;/ /,split,$i=shift@_,$h{$i}=[@_]for<DATA>;

Points to anybody who can explain why $above_code =~ s/$i=shift@_,$h{$i}=/$h{shift()}=/ won't work the same as $above_code.
--

Love justice; desire mercy.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found