OUTPUT on screen when the command fails:- //files/data.c - file(s) not in client view. #### my $p4where_output=`p4 where $file`; if($p4where_output =~ /file(s) not in client view/) { push @changed_paths,"$file\n"; }