Perl: the Markov chain saw | |
PerlMonks |
Re^3: Using XML::Saxon::XSLT2 Errorsby Anonymous Monk |
on Jun 30, 2017 at 12:24 UTC ( [id://1193923]=note: print w/replies, xml ) | Need Help?? |
I had also the error like "Can't locate object method "new" via package "XML::Saxon::XSLT2::Transformer ... XSLT2.pm ..." In my case the problem was that the XSLT2 related code was located in a .pm module. The error disappeared when I added use XML::Saxon::XSLT2; not only to the .pm module but also into the main perl script.
In Section
Seekers of Perl Wisdom
|
|