If you hate installing Modules often then here are two shortcuts.
The simple solution would be run all the system comman in the scriptname.pl with >outfile for first time and use >>outfile for all the remaining system commands.
eg: system("ls -l >/tmp/temp.log")
The other solution is use the help of backticks run all your commands as $ouput=`command` and write the variable $output to a standard file.