in reply to Re: About open office
in thread About open office

Hi,
I tried the above module to open the word file through openoffice through perl. But i can't. Would you please help me in this.

Waiting for your reply. Thanks,

Replies are listed 'Best First'.
Re^3: About open office
by Corion (Patriarch) on Jun 18, 2009 at 09:14 UTC

    I guess the first step would be that you show us the relevant part of the code you have written, and describe what it should do and how it fails for you.

      Hi tried the below,
      $filename="c:\\in\\1.doc";>br> my $archive = OpenOffice::OODoc::File->new("$filename");
      my $c = ooDocument
      (
      file => $filename,
      member => "content"
      );
      But iam unable to open the doc file. Willany one help me how to open the doc file through open office in perl.

        You don't tell us how you see that you are unable to open the document file.

        Please note that OpenOffice::OODoc reads and writes OODoc files without OpenOffice. That may, or may not be what you need. Consider looking at OpenOffice::UNO if you want to automate OpenOffice, like I've already told you.