Subject: | Undefined subroutine &XML::Pastor::Schema::Parser::_sprint_xml_element |
There are lots of calls to _sprint_xml_element (note the leading underscore) in XML::Pastor::Schema::Parser, but there's no such sub.
There is an sprint_xml_element (no leading underscore) sub imported.
(This simple error suggests very poor test coverage. Try using Devel::Cover!)
A workaround is:
# bug fix for 1.0.3
*XML::Pastor::Schema::Parser::_sprint_xml_element =
\&XML::Pastor::Schema::Parser::sprint_xml_element
unless defined &XML::Pastor::Schema::Parser::_sprint_xml_element;