laziness, impatience, and hubris | |
PerlMonks |
string does not containby Anonymous Monk |
on Jan 22, 2003 at 15:29 UTC ( [id://229044]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I often use =~ to see if a string contains a value such as $string=~"hello" but how do I see if a string does not contain a value? For example say if a string does not contain "hello" do this?
Back to
Seekers of Perl Wisdom
|
|