good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Using hashes for set operations...by ikegami (Patriarch) |
on May 22, 2011 at 05:18 UTC ( [id://906117]=note: print w/replies, xml ) | Need Help?? |
Sorry, missing map { $_ => 1 }
Are you trying to imply that I should have told you you need to use a hash to get the original from the stringification even you already know that? Or are you referring to request to avoid loops? Yeah, I missed that bit of nonsense. It's impossible to find the intersection of two sets without looping over the two sets.
In Section
Seekers of Perl Wisdom
|
|