in reply to problem in running UNIX command through perl
`egrep -f "$_proj_file" "$_running_file" > "$_admin_temp_file"`;
Of course the question is why you use `...` instead of system(...), if you are not interested in the output of the egrep, but maybe egrep is writing something to stderr, and the way you code it, that stderr gets lost. I suggest you try
and see what happens.my $errmsg=`egrep -f "$_proj_file" "$_running_file" > "$_admin_temp_fi +le"`; print "egrep error: $errmsg\n" if $errmsg;
|
|---|