in reply to System command stdout

You can get a command's output with the qx/.../ operator or with back ticks, see perlop for more details.