On 03/08/2012 11:53 AM, Bruce Ferrell wrote:
Just thought I'd share with the group and experience I just had.  In perhaps 
the hope of sparing others of the PITA I just went through.
...
> use Common;  # contains timestamp()
> use Date::Manip;
...
> Shouldn't this have thrown SOME kind of error/warning what was going on?

You might want to make that suggestion to the module maintainer:

    https://rt.cpan.org/Public/Dist/Display.html?Name=Date-Manip


Ultimately, the only way to protect yourself against changes in modules and/or Perl itself is to write (and run) regression tests.


> "In circuit" the code runs as a daemon and errors aren't easy to get at.

Log::Log4perl is very useful in general, and has special features for debugging running services:

    http://search.cpan.org/~mschilli/Log-Log4perl-1.36/lib/Log/Log4perl.pm


HTH,

David

--
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