print "$pattern not found in $file\n" if not $found; #### print "$pattern not found in $file\n" unless $found;