On Sat, Sep 06, 2008 at 11:44:05AM +0200, Moritz Lenz wrote:
: The subject says it all: should !~~ with a regex on the RHS set $/?

For now I would assume that the meta operator rewrites

    $a !~~ $b

to

    (not $a ~~ $b)

so .ACCEPTS has no clue that it is dealing with a negated operator.
In other words, it sets $/ just like the normal ~~ operator, but
the boolean sense comes out backwards:

    if $a !~~ /foo/ {
        # $/ is false
    }
    else {
        # $/ is true
    }

Larry

Reply via email to