in reply to Subroutine Return Values

To capture STDOUT of a system call, you want to use backticks ( ` ` ) or the equivalent qx. The system function only gives you the exit status.

You should be checking for errors in those calls by testing $?.

After Compline,
Zaxo