Sure, open STDIN and STDERR as those files:
Hope that helps.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 $!;
After Compline,
Zaxo
In reply to Re: Log Files
by Zaxo
in thread Log Files
by ginju75
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |