Brent Dax wrote:
Larry Wall:
# We're obviously missing the "force to string context, negate" # operator. :-)
Which would create a superposition of all strings besides the given one,
right? (Oh crap, I think I gave Damian an idea... :^) )
The C<~none> operator covers that quite nicely:
$not_foo = ~none('foo');
...
if $str eq $not_foo {
print "Not 'foo'\n"
}
Hmmmm. Maybe C<none> is starting to grow on me. Bwah-ha-ha-ha-hah! >;-)
Damian
