in reply to Perl script to Parse a file for a string
if ( $string !~ /search patter here/ ) { print ( "didnt find match" ); }; [download]
if ( $string =~ /search pattern here/ ) { print ( "found string" ); } else { print ( "didnt find string" ); }; [download]