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


in reply to Question on qx

The output of qx// is whatever the program inside's STDOUT is. In your specific case you send all of the program's STDOUT to a file, so there is none left for perl to read.