in reply to how to store the output of a 'system' call to a variable
Any particular reason why you're not using backticks or IPC::Open3 for this?