Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 surveying the Monastery: (4)
As of 2014-09-19 02:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls