It is easy for two hashes to be the same but have different scalar sizes.And that's why my code doesn't compare the scalar values of the hashes but the length of their keys arrays.
Regarding prototypes, I'll take a look at the link. But my code expects two hashrefs, not hashes.
Cheers,
Tom
Tom Moertel : Blog / Talks / CPAN / LectroTest / PXSL / Coffee / Movie Rating Decoder
In reply to Re^3: Multiple loop variable in foreach statement
by tmoertel
in thread Multiple loop variable in foreach statement
by tc1364
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |