in reply to Store system call in a variable

To capture the output of a command, use qx instead of system.