[Xml-compile] XML::Compile::Schema ->addHook() - doc bug?

Michael Ludwig m.ludwig at epages.com
Thu Dec 8 18:23:10 GMT 2011


Hi Mark,

some example code on this page:

http://search.cpan.org/~markov/XML-Compile-1.23/lib/XML/Compile/Schema.pod#Schema_hooks

reads:

 my $wsdl   = XML::Compile::WSDL->new(...);
 $wsdl->schemas->addHook(HOOKDATA | HOOK);

But when doing this I get an error:

 panic: schemas() removed in v2.00, not needed anymore

A doc bug?

perl5.12.4 -MXML::Compile::Schema -lwe "print $XML::Compile::Schema::VERSION"

 1.23

Best,

Michael



More information about the Xml-compile mailing list