in reply to Re^3: Problem with ampersand and regexin thread Problem with ampersand and regex
Take a look at What's the difference between Perl's backticks, system, and exec?. The system() call returns the exit status, not the actual result (STDOUT) of the command like the backtick operator does.