On Tue, 06 Jan 2009 16:48:47 +0300 Richard Hainsworth <[email protected]> wrote:
RH> Suppose I want a 'when' clause to fire when the test is *not*
RH> met. What syntax should be used?
Maybe the parser can be smart enough to recognize this:
given $x
{
! /<digit>/ {say 'this does not contain a digit'}
}
Other suggestions: invert, negate, flip, nehw (I also like whent and
except from Richard's list).
Ted
