in reply to Spawning Shell Commands

Use backticks:
@output = `command`;

Or use a pipe:
open(PIPE, "command |") or die $!; while (<PIPE>) { print; # ..do something else }