Commits


Added checks for data to insert before calling dbInsertRecord()


Added debug() messages to libraries and tested Seems to work well using exported constants.


Added debug() and debug level constants Can now selectively import the debug() function an defined constants like this: use IRCNOW::IO qw(:DEBUG); updated parseznc.pl to use it.


Moved database related functions to IRCNOW::Database.pm Added IRCNOW::Parselog.pm as a base class for log parsers. It has stub functions for common database functions to make the code easier to view/manage at the application level.


Start of a library set for accessing data on ircnow network servers Current version connects to an botnow database and the parses the znc log file. It can create a database table for the znc log and read the last line from the database table. The test application parseznc.pl does a simple dump of the parsed data file. It can skip the records from the dump based on a passed record. Working to abstract some of the code into a IRCNOW::ParseLog and IRCNOW::Database library to make future log parsing tasks easier.