![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re: =~ doesn't work with Quantum::Superpositionsby DrManhattan (Chaplain) |
on Apr 20, 2003 at 15:57 UTC ( #251834=note: print w/replies, xml ) | Need Help?? |
Looks like eq is overloaded, but =~ is not. When you make a regex comparison, you're just getting a regex match against the stringified object (in this case "any(a,b)") on the LHS.
Prints "any(a,b)" -Matt
In Section
Seekers of Perl Wisdom
|
|