in reply to Re^3: Win32::OLE Word Macro Conversion
in thread Win32::OLE Word Macro Conversion
Actually it can be even neater. Win32::OLE provides a function with() that would let you do this:
I forgot about it when writing that node.use Win32::OLE qw(with); ... with($Word->Options, LocalNetworkFile => 0, AllowFastSave => 1, BackgroundSave => 1, CreateBackup => 0, SavePropertiesPrompt => 0, SaveInterval => 10, SaveNormalPrompt => 0, DisableFeaturesbyDefault => 0, );
Jenda
|
We'd like to help you learn to help yourself Look around you, all you see are sympathetic eyes Stroll around the grounds until you feel at home -- P. Simon in Mrs. Robinson |
|
|---|