in reply to direct output from System command
system("command > $temp/out.txt"); [download]
You cannot use this method with multiple arguments to system() ie. system("command", "arg1", "arg2", ">file"); doesn't work.
--my $chainsaw = 'Perl';