Subject: | Copy/paste mistake in Template/Plugin/XML/LibXML.pm line 115 |
perl -le 'use Template::Plugin::XML::LibXML'
Global symbol "$self" requires explicit package name (did you forget to declare "my $self"?) at /home/gnatyna/perl5/perlbrew/perls/perl-5.26.0_WITH_THREADS/lib/site_perl/5.26.0/Template/Plugin/XML/LibXML.pm line 115.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Need $class instead of $self.
Patch attached.
Subject: | Template_Plugin_XML_LibXML.patch |
115c115
< $self->throw("option '$method' not supported") if $@;
---
> $class->throw("option '$method' not supported") if $@;