in reply to Log Files

Sure, open STDIN and STDERR as those files:

use File::Basename; my $script = basename($0); my $logpath = '/path/to/logs/'; open STDOUT, ">> ${logpath}${script}OUT.log" or die $!; open STDERR, ">> ${logpath}${script}ERR.log" or die $!;
Hope that helps.

After Compline,
Zaxo