The solution is to open a shell script with a pipe and send it the
commands to be executed. That way no new shell is opened for each
command and McAfee is quiet:
# open shell with pipe and turn off buffering
open (OPSH, "|-") or exec ("./my.sh 01 >opsh1.log 2>&1");
$savefh
I have a perl script that calls a compiled c program and retrieves the
output lines hundreds of times a minute, and want to make it as
efficient as possible. This is on Windows XP and ActivePerl 5.8.
Using 'system' and redirecting stdout to a file, then opening and
reading the file, I observed th