in reply to unix command with system

Also note that to capture the output of a command use backticks or qx().



Code is (almost) always untested.
http://www.justicepoetic.net/