go ahead... be a heretic | |
PerlMonks |
Re^6: Using hashes for set operations...by LanX (Saint) |
on May 27, 2011 at 15:44 UTC ( [id://907002]=note: print w/replies, xml ) | Need Help?? |
Thanks! :) > Lastly, I have decided to have all the result hashes "look the same" in that every element value is undef--which may or may not be more efficient! unfortunately this collides with my requirement to support all kind of sets: From the OP
This is fundamentally wrong because keys are stringifications and any reference type will not be reproduced (just think about arrays of objects or a AoH or ...)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|