This works in my cgi script:
<code>
==================================================
my $file="/tmp/a_document.$$.sxw";
my $content = ooDocument(file=> $file,create =>
'text',readable_XML=>'on' );
# Add stuff #
$content->save();
print "Content-type:
application/vnd.oasis.opendocument.text\n\n";
print `cat $file`;
==================================================
</code>
If you are working on a windows system, you may need to set
up a file type.
To write a respons, access
http://ww
w.cpanforum.com/response_form/2516
To see the full thread, access
http://www.cpan
forum.com/threads/2514
--
You are getting this messages from www.cpanforum.com
To change your subscription information visit http://www.cpanforum.
com/mypan/
|