From: Michael Kelly <[EMAIL PROTECTED]>
> On 3/20/02 11:05 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
> 
> > My new web hosting service at oneononeinternet.com doesn't have
> > error logs for each site. What do I do?
> > 
> > Is there a way for me to create my own logs for my perl files?
> 
> You could redirect STDERR like this...
> 
> open(STDERR,">>err.txt");
> 
> Then all your error messages would go to err.txt, I think. Of course,
> you'd have to put that in all your scripts, and it wouldn't help you
> with compile-time errors.

Put a BEGIN{} block around it and you will ... to some extent.

Jenda

=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
                                        --- me

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to