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

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?