my $string = "foo bar baz"; print "no hello" if $string !~ /hello/; __output__ no hello