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
In reply to Re: Subroutine Return Values
by Zaxo
in thread Subroutine Return Values
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |