Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: font color="#ff0000"IF NOT! IF NOT!/font

by myocom (Deacon)
on Aug 02, 2001 at 22:51 UTC ( #101749=note: print w/ replies, xml ) Need Help??


in reply to Re: font color="#ff0000"IF NOT! IF NOT!/font
in thread IF NOT! IF NOT!

...except that you got the logic backwards.

I need an if statement to say something like "if grep can't find 'home' in a word, print the word."
foreach (@words) { print "$_\n" unless /home/; }


Comment on Re: Re: font color="#ff0000"IF NOT! IF NOT!/font
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2014-07-25 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (174 votes), past polls