good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Splitting program into modulesby talexb (Chancellor) |
on Nov 11, 2018 at 18:14 UTC ( [id://1225589]=note: print w/replies, xml ) | Need Help?? |
I'm a big fan of the Log::Log4perl module for logging. For me, the terrific feature of this module is that you can adjust the level of messages you get in your log file -- dial it up to DEBUG to get everything, or back down to WARN for just warnings. In between the two is INFO, containing useful messages about what my scripts are doing. If you add log messages to the various modules that you are developing, you'll be able to track in what orders things are happening. It's really illuminating to see this stuff scroll by -- I have status screens that watch the tail end of various log files during production hours so I can stay on top of how my system is behaving. Good luck -- let us know how it all turns out.
In Section
Seekers of Perl Wisdom
|
|