Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: negated word issue

by davido (Archbishop)
on Mar 01, 2012 at 13:51 UTC ( #957220=note: print w/ replies, xml ) Need Help??


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


Comment on Re: negated word issue
Download Code
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://957220]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-07-31 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (275 votes), past polls