Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Win32::OLE and taint

by Generoso (Prior)
on Dec 01, 2013 at 23:45 UTC ( #1065193=note: print w/replies, xml ) Need Help??


in reply to Win32::OLE and taint

use Win32::OLE qw(CP_UTF8); use Win32::OLE::Const 'Microsoft Word'; $Win32::OLE::CP = CP_UTF8; my $W = Win32::OLE->GetActiveObject('Word.Application') || Win32::OLE->new('Word.Application') || die ("couldn't create Word object"); $W->{'Visible'} = 1; my $document = $W->Documents->Open("D:\\mydoc.doc") || die("Unable to open document ", Win32::OLE->LastError()); print $document."\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1065193]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2018-10-18 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (106 votes). Check out past polls.

    Notices?