in reply to Combining hashes
Regarding your second question, yes you can merge hashes together in a simple list. Perl transforms each hash into a list of key-value pairs, and the last value for any given key in the list is what is set in %merged:my $count = keys %class1;
This version is somewhat more readable than your original one, at the expense of a little inefficiency.my %merged = (%class1, %class2, %class3); my $count = keys %merged;
MeowChow s aamecha.s a..a\u$&owag.print
|
|---|