++ed by:

1 non-PAUSE user.

Ron Savage
and 1 contributors

NAME

Genealogy::Gedcom::Date::Actions - A nested SVG parser, using XML::SAX and Marpa::R2

Synopsis

See "Synopsis" in Genealogy::Gedcom::Date.

Description

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.

Installation

See "Installation" in Genealogy::Gedcom::Date.

Constructor and Initialization

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 maxlevel attribute of this object is changed in Genealogy::Gedcom::Date.

Default: anObjectOfTypeLogHandler.

Usage (in this module): $logger -> log(info => $string).

Methods

None.

Functions

Many.

Globals

Yes, some our variables are used to communicate the Genealogy::Gedcom::Date.

FAQ

See "FAQ" in Genealogy::Gedcom::Date.

Author

Genealogy::Gedcom::Date was written by Ron Savage <ron@savage.net.au> in 2011.

Home page: http://savage.net.au/.

Copyright

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/