in reply to direct output from System command

If you want to stuff the output of <command> into a file without seeing it in your program you can also do this-
system("command > $temp/out.txt");

You cannot use this method with multiple arguments to system() ie. system("command", "arg1", "arg2", ">file"); doesn't work.

--
my $chainsaw = 'Perl';