http://www.perlmonks.org?node_id=879105


in reply to Re^6: How to stop printing the output of a command on screen when the command fails?
in thread How to stop printing the output of a command on screen when the command fails?

The single quotes in line 13 of your posted code. Is that really what you want - not interpolated? Perldoc shows it differently.