http://www.perlmonks.org?node_id=957220


in reply to negated word issue

Go easy on yourself:

if( ! /my3\.exe/ and /my background error (\d+): (.+)/ ) { # do something with $1 and $2 }

Sometimes breaking it into two separate problems is the clearer solution.


Dave

Replies are listed 'Best First'.
Re^2: negated word issue
by Anonymous Monk on Mar 01, 2012 at 14:01 UTC
    Agreed this is the simplest approach. thanks