Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Hash slices and too many keys

by PrakashK (Pilgrim)
on Jul 28, 2001 at 02:57 UTC ( #100476=note: print w/ replies, xml ) Need Help??


in reply to Hash slices and too many keys

How about:

@hash{@keys} = (@values, ('') x @keys);
Still ugly, but works.


Comment on Re: Hash slices and too many keys
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-07-08 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls