On Wed, Jun 24, 2009 at 09:25:05AM -0700, [email protected] wrote:
> I'd like to automatically have my script's errors and warnings sent to
> both STDOUT (console) and a log file.  What is the proper way of doing this?

print STDERR mess;
print FILEHANDLE mess;


> 
> Pablo
> 
> -- 
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> http://learn.perl.org/
> 

-- 
If you think of MS-DOS as mono, and Windows as stereo,
 then Linux is Dolby Digital and all the music is free...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to