Commits

Shlomi Fish committed fcd9e67

Add a patch by Aaron Crane to fix AUTOLOAD.

- Apply 0001-XML-LibXML-Error-no-need-to-AUTOLOAD-domain.patch from
https://rt.cpan.org/Public/Bug/Display.html?id=68575 - no need to AUTLOAD
'domain' because a method like that exists.
-- Applied by SHLOMIF.
-- Thanks to Aaron Crane.

Comments (0)

Files changed (2)

 
 1.71pre
    - turn XML_LIBXML_PARSE_DEFAULTS constant to $XML::LibXML::XML_LIBXML_PARSE_DEFAULTS
+   - Apply 0001-XML-LibXML-Error-no-need-to-AUTOLOAD-domain.patch from
+     https://rt.cpan.org/Public/Bug/Display.html?id=68575 - no need to AUTLOAD
+     'domain' because a method like that exists.
+        -- Applied by SHLOMIF.
+        -- Thanks to Aaron Crane.
+
 
 1.70
    - various fixes and improvements in the documentation

lib/XML/LibXML/Error.pm

   return undef unless ref($self);
   my $sub = $AUTOLOAD;
   $sub =~ s/.*:://;
-  if ($sub=~/^(?:code|_prev|level|file|line|domain|nodename|message|column|context|str[123]|num[12])$/) {
+  if ($sub=~/^(?:code|_prev|level|file|line|nodename|message|column|context|str[123]|num[12])$/) {
     return $self->{$sub};
   } else {
     croak("Unknown error field $sub");