I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-02-11 08:45:54.764415-08 by jmgdoc in response to 13197
Re: Created files incompatible with OpenOffice 3.2

Good news... However you should never have to save, reload and save a file to update the document content and the manifest separately. It undoubtedly works but it's counter-performing because the physical file is saved twice. When several document parts are connected to the same container, the save() method of one of the parts makes all the changes persistent. In the example below, $meta and $manifest are connected to the same container as $document, and the last instruction saves all. Of course, the 'container' parameter of each secondary part must be set to the primary document object and *not* to the filename!
my $document = odfDocument(file => "myfile.odt"); my $meta = odfMeta(container => $document); my $manifest = odfManifest(container => $document); # ...process the various parts $document->save();
Direct Responses: 13202 | Write a response