Printing to multiple files ... without changing my code.

David Cantrell david at cantrell.org.uk
Mon Sep 18 22:46:22 BST 2006


Eric Wilhelm wrote:
> from Dan Rowles:
>> Would you be willing to replace your print statements with something
>> like Log::Log4perl?
> I'll second that, but add that these maybe should have been warn() 
> instead of print.

Or as one of my lovely colleagues suggested to me in a code review a 
coupla weeks ago (indeed, I think it was Dan) confess(), croak(), 
cluck(), moo(), bark(), or whatever the appropriate badly named function 
from Carp.pm is.

-- 
David Cantrell | Nth greatest programmer in the world

Pro mea lingua Graeca est


More information about the london.pm mailing list