in reply to unix commands output

If you are using system, you could redirect the output to /dev/null:
system 'ls > /dev/null';

If using qx, just discard what is returned:

qx(ls);