my $p4where_output=`p4 where $file`; if($p4where_output =~ /file(s) not in client view/) { push @changed_paths,"$file\n"; }