- Constructor and Initialization
Genealogy::Gedcom::Date::Actions - A nested SVG parser, using XML::SAX and Marpa::R2
Specifially, calls to functions are triggered by items in the input stream matching elements of the current grammar (and Marpa does the calling).
Each action function returns a arrayref or hashref, which Marpa gathers. The calling code in Genealogy::Gedcom::Date decodes the result so that its
parse() method can return an arrayref.
This class has no constructor. Marpa::R2 fabricates an instance, but won't let us get access to it.
So, we use a global variable,
$logger, initialized in Genealogy::Gedcom::Date, in case we need logging. Details:
- o logger => aLog::HandlerObject
By default, an object of type Log::Handler is created which prints to STDOUT, but given the default, nothing is actually printed unless the
maxlevelattribute of this object is changed in Genealogy::Gedcom::Date.
Usage (in this module): $logger -> log(info => $string).
our variables are used to communicate the
Genealogy::Gedcom::Date was written by Ron Savage <email@example.com> in 2011.
Home page: http://savage.net.au/.
Australian copyright (c) 2011, Ron Savage.
All Programs of mine are 'OSI Certified Open Source Software'; you can redistribute them and/or modify them under the terms of The Perl License, a copy of which is available at: http://dev.perl.org/licenses/