Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Assign (key, value) to a hash w/o clobbering hash

by TedPride (Priest)
on Sep 28, 2006 at 18:51 UTC ( #575399=note: print w/replies, xml ) Need Help??


in reply to Assign (key, value) to a hash w/o clobbering hash

use Data::Dumper; $hash{bing} = 'bang'; for (qw/fooXbar bishXbash/) { @_ = split /X/, $_; $hash{$_[0]} = $_[1]; } print Dumper(\%hash);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://575399]
help
Chatterbox?
[Corion]: choroba: I'm still using spod5 as my pod-to-ooxml- converter didn't really get off the ground so far
[choroba]: Slidy is basically HTML, so I'm not sure I really fly high :)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2017-09-26 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?