Hello Guys,

I have been Googling about and I havn't been able to find it anywhere.
Well I found it, but it just doesnt work

Let me explain:
* I got a piece of Perl code that needs to redirect STDOUT to /var/log/mylog.log
* This logfile has the user rights 664.
* I do the Following to Redirect it:
Code:
open STDOUT, ">/var/log/mylog.log" || die $!;
* If I'd place a "print" directly after this. Well it works. But the other prints in the program. Don't eg
Code:
print $startTime . "\n";
* This is all one function, however other subs are called. These subs don't use print at all.

So, Any advice? Or would more information be required?
Thanks,

Robin

[Edit: Turned on Instant email notification]