On Wed, Jun 24, 2009 at 09:25:05AM -0700, pa...@compugenic.com 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: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> 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: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to