... #don't do `cat ...` open( FH, "; if ( $#matches > -1 ) { print "Got " . ($#matches + 1) . " matches\n"; }