http://qs321.pair.com?node_id=913154


in reply to Methods for simple logging from modules

I think it very depends on your exact requirements. I often use my proprietary implementation due to specific requirements in my OO design. In result, it looks like this:

$self->debug1("Starting action..."); my $res = $self->action(); $self->log("Action result:".$res);