The backtick operator `$command`; captures STDOUT from the $command issued. It does not capture STDERR (though you can tell the shell to send both STDOUT, if you want it). See perlop for the details.
Comment on Re: Checking and verifying a unix command sent in Perl