--- David Gilden <[EMAIL PROTECTED]> wrote:
> Could you comment briefly on the use of
> select LOG;
from perldoc -f select:
select FILEHANDLE
Returns the currently selected filehandle.
Sets the current default filehandle for output, if FILEHANDLE is
supplied. This has two
--- Peter Lemus <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I need to create a log from a perl script that
> generates a lot of errors and successful completion
> messages. Please give me some tips on how I can
> accomplish this.
>
> thanks,
Are you just using warn()?
You can actually open STD
- Original Message -
From: Kevin Meltzer <[EMAIL PROTECTED]>
To: Peter Lemus <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 10:07 PM
Subject: Re: How to create a log file from a perl script
> Hi Peter,
>
> Look at the perlop
Hi Peter,
Look at the perlopentut man page:
perldoc perlopentut
That will show you how to open a file(s). Then, you can just write to them. If
I want all my 'print' statements in a script to print to a specific file, I
generally do something like:
sub DEBUG () { 1 }; # Or some level of debugne