{ %hash2 } will only copy the data 1 level deep. edit: removed link to perl cookbook%hash2 = ( mammal => { dog => 'a', cat => 'a' }, bird => {...}, ... )
In reply to Re: Initial Hash of Hash by value
by believer
in thread Initial Hash of Hash by value
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |