Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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


Comment on Re: anonymous hash slice
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2015-04-27 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (512 votes), past polls