Subject: | [Report Bug] [HELP] ISSue on OpenOffice::OODoc::Element |
Date: | Tue, 12 Apr 2016 02:23:43 +0000 |
To: | <bug-OpenOffice-OODoc [...] rt.cpan.org> |
From: | <Phap.Ho [...] microchip.com> |
Hi CPAN supporters,
1st , thank you very much for your sharing knowledge on http://search.cpan.org/. Very helpful to me.
I have an issue related to OpenOffice::OODoc::Element in OpenOffice::OODoc module.
Below is my test code (reused from our CPAN website):
#!/usr/bin/perl
use lib "/home/data/verilog/perl_lib";
use OpenOffice::OODoc;
my $document = odfDocument(file => 'test.odt');
$document->appendParagraph
(
text => 'Some new text',
style => 'Text body'
);
$document->appendTable("My Table", 6, 4);
$document->cellValue("My Table", 2, 1, "New value");
$document->save;
/home/data/verilog/perl_lib : is the place I put module OpenOffice (downloaded from CPAN website)
When execute above script, I meet 1 error as below:
“Can't locate object method "normalize" via package "OpenOffice::OODoc::Element" at /home/data/verilog/perl_lib/OpenOffice/OODoc/XPath.pm line 1497”
I tried finding the reason on Google but can’t solve.
Please help me by giving your advice and comment.
Hope to hear from you soon,
Best regard,
Phap
(¯°º•.(¯°º•.¸ \..../ ¸.•º°¯).•º°¯)
“•.«».“•...† PHAP †...•”.«».•”
²°•.¸¸¸°•. VNDC .•°¸¸¸.•°²
.•° …¸MICROCHIP¸… °•.
( ¸¸…..•°(¸.•°††°•.¸)°•..…¸¸ )