Flexible library for parsing syslog messages in Perl