merge one hash into another using a hash slice. Note that the new values replace any previous values with the same key.
@target{keys %source} = values %source;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Merge hash into another hash
by ides (Deacon) on Apr 29, 2007 at 15:19 UTC | |
by naikonta (Curate) on Apr 30, 2007 at 01:41 UTC | |
by SleepyJay (Beadle) on Jul 16, 2009 at 23:05 UTC | |
by linuxer (Curate) on Jul 17, 2009 at 09:13 UTC | |
Re: Merge hash into another hash
by ruzam (Curate) on Nov 18, 2009 at 23:54 UTC | |
Re: Merge hash into another hash
by eamallove (Initiate) on Nov 18, 2009 at 19:54 UTC |
Back to
Cool Uses for Perl