Skip Menu |
 

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 65627
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: vgjunkie [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't locate object method "toFile" via package "XML::LibXML"
Date: Thu, 10 Feb 2011 14:30:44 -0500
To: bug-XML-LibXML [...] rt.cpan.org
From: Video Game Junkie <vgjunkie [...] gmail.com>
Download (untitled) / with headers
text/plain 350b
I am using the CPAN installed XML::LibXML and I am trying to save my script output to a file. The document seems to state to use the toFile() function, but it errors out with: Can't locate object method "toFile" via package "XML::LibXML" Has this function been removed? If so, what is the best way to save the XML output to a file? Thanks Jeff W.
Download (untitled) / with headers
text/plain 669b
Hi Jeff, On Thu Feb 10 14:30:57 2011, vgjunkie@gmail.com wrote: Show quoted text
> I am using the CPAN installed XML::LibXML and I am trying to save my > script output to a file. The document seems to state to use the > toFile() function, but it errors out with: > > Can't locate object method "toFile" via package "XML::LibXML" > > Has this function been removed? If so, what is the best way to save > the XML output to a file? >
toFile() was not removed. It is just part of XML::LibXML::Document instead of XML::LibXML itself, and should be used on a Document object. I'm resolving this bug. If you can supply a reproducing example, please reply here. Regards, -- Shlomi Fish


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.