instead ofopen STDERR, '>> /var/log/mylog.log'
?open local(*STDERR), '>> /var/log/mylog.log'
Wait a sec... why did you sneak that $/ in (input record separator) at the end of the call to die()?
In reply to Re^2: redirect STDERR to my log file, also funny *FOO notation.
by JohnMG
in thread redirect STDERR to my log file, also funny *FOO notation.
by JohnMG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |