Genealogy::Gedcom::Date::Actions - A nested SVG parser, using XML::SAX and Marpa::R2
Genealogy::Gedcom::Date::Actions
See "Synopsis" in Genealogy::Gedcom::Date.
Basically just utility routines for Genealogy::Gedcom::Date. Only used indirectly by 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.
parse()
See "Installation" in Genealogy::Gedcom::Date.
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:
$logger
By default, an object of type Log::Handler is created which prints to STDOUT, but given the default, nothing is actually printed unless the maxlevel attribute of this object is changed in Genealogy::Gedcom::Date.
maxlevel
Default: anObjectOfTypeLogHandler.
Usage (in this module): $logger -> log(info => $string).
None.
Many.
Yes, some our variables are used to communicate the Genealogy::Gedcom::Date.
our
Genealogy::Gedcom::Date
See "FAQ" in Genealogy::Gedcom::Date.
Genealogy::Gedcom::Date was written by Ron Savage <ron@savage.net.au> 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/
To install Genealogy::Gedcom::Date, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Genealogy::Gedcom::Date
CPAN shell
perl -MCPAN -e shell install Genealogy::Gedcom::Date
For more information on module installation, please visit the detailed CPAN module installation guide.