Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: anonymous hash slice

by BrowserUk (Pope)
on May 18, 2004 at 20:29 UTC ( #354425=note: print w/replies, xml ) Need Help??


in reply to anonymous hash slice

$data->{'keys&values'} = do{ $_={}; @{$_}{ @keys } = @values; $_ };

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://354425]
help
Chatterbox?
choroba learns Erlang.
[Discipulus]: ah! 2 weeks of potatos peeling for you ;=)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2017-07-25 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (370 votes). Check out past polls.