Commits

Shlomi Fish  committed 585d69a

Fix https://rt.cpan.org/Ticket/Display.html?id=61756 .

Missing new in object initialization.

  • Participants
  • Parent commits 14dfddd

Comments (0)

Files changed (2)

     - Makefile.PL: now saying we are trying to link against -lm, -lz 
     and -lxml2 . Not only -lxml2:
         - https://rt.cpan.org/Ticket/Display.html?id=51439
+    - https://rt.cpan.org/Ticket/Display.html?id=61756
+        - << $node = XML::LibXML::Comment( $content ); >> is wrong.
 
 1.73            Sat Jun 18 10:53:44 IDT 2011
     - Calculating $err->column() properly, so it won't be maxed out at

File docs/libxml.dbk

 
                 <listitem>
                     <funcsynopsis>
-                        <funcsynopsisinfo>$node = XML::LibXML::Comment( $content );</funcsynopsisinfo>
+                        <funcsynopsisinfo>$node = XML::LibXML::Comment-&gt;new( $content );</funcsynopsisinfo>
                     </funcsynopsis>
 
                     <para>The constructor is the only provided function for this package. It is required, because <emphasis>libxml2</emphasis> treats text nodes