Tuesday, January 18, 2011

Combine hashes with list assignment

To combine two hashes, look at them as lists and assign them to a hash.

my %new_hash = (%hash1, %hash2);

No comments: