I tried matching against a disjunction and got the wrong results. Where is the problem - my understanding or in Q::S?
use Quantum::Superpositions; $\ = $/; # Create a disjunction of 'a' and 'b'. $dis = any( 'a', 'b' ); print "=~: ",$dis =~ /^b$/; # false print "eq: ",$dis eq 'b'; # true
In reply to =~ doesn't work with Quantum::Superpositions by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |