Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Concerning hash operations (appending, concatenating)

by friedo (Prior)
on Mar 24, 2005 at 16:26 UTC ( #442099=note: print w/ replies, xml ) Need Help??


in reply to Concerning hash operations (appending, concatenating)

For this type of thing I generally use slices.

@hash{qw( f h j )} = @vals[0..2];


Comment on Re: Concerning hash operations (appending, concatenating)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2015-05-03 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (76 votes), past polls