Subject: | XML::LibXML::_clone() typo |
Date: | Tue, 7 Aug 2012 16:50:24 +0200 |
To: | bug-XML-LibXML [...] rt.cpan.org |
From: | Bernhard Reutner-Fischer <rep.dot.nop [...] gmail.com> |
Hi,
version is XML-LibXML-2.0003
sed -i -e '/line_nubers/s/nub/numb/' XML/LibXML.pm
ChangeLog:
* LibXML.pm (_clone): Fix typo in line_numbers handling.
thanks,
--- XML/LibXML.pm.oorig 2012-07-08 17:09:25.000000000 +0200
+++ XML/LibXML.pm 2012-08-07 16:43:33.307025430 +0200
@@ -388,9 +388,9 @@ sub new {
sub _clone {
my ($self)=@_;
my $new = ref($self)->new({
recover => $self->{XML_LIBXML_RECOVER},
- line_nubers => $self->{XML_LIBXML_LINENUMBERS},
+ line_numbers => $self->{XML_LIBXML_LINENUMBERS},
base_uri => $self->{XML_LIBXML_BASE_URI},
gdome => $self->{XML_LIBXML_GDOME},
set_parser_flags => $self->{XML_LIBXML_PARSER_OPTIONS},
});