Help for this page

Select Code to Download


  1. or download this
    use Win32::OLE;
    my $word=Win32::OLE->new('word.application');
    ...
    my $text=$doc->{Text};
    #
    $text=~s/\r/\n/g;
    
  2. or download this
    perl -MWin32::OLE -d -e 42