Re: How to create a log file from a perl script

2001-06-18 Thread Paul
--- 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

Re: How to create a log file from a perl script

2001-04-26 Thread Paul
--- 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

Re: How to create a log file from a perl script

2001-04-26 Thread M.W. Koskamp
- 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

Re: How to create a log file from a perl script

2001-04-26 Thread Kevin Meltzer
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

How to create a log file from a perl script

2001-04-26 Thread Peter Lemus
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, = Peter Lemus Computer Networks Engineer [EMAIL PROTECTED] My Dad always tought me; when you do good; expe

How to create a log file from a perl script

2001-04-26 Thread Peter Lemus
Hi, Guys, I'm running a perl script that generates lots of error messages and successful completion messages. Please give me some tips on how can I put all this data to a log file. thanks, = Peter Lemus Computer Networks Engineer [EMAIL PROTECTED] My Dad always tought me; when you do good;