in reply to Redirecting STDOUT

Since you are wanting to throw away the output of the command you could use qx().

$output=qx(@command);

now you have captured the output in $output and can do whatever you wish with it.