Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The same bit of (translated) VB code doesn't have this problem, so I'm thinking it's something I need to tell Perl how to do, maybe explain to it that I'd like stdout to be wide characters or something. I've rtfm (somewhat), I tried just about every combination of letters for -C switch to perl.exe...what else can I try? My Perl looks something like this:G o o d b y e c r u e l w o r l d
In VB, it was this (I apologize for befouling the monastery):use Win32::OLE; $obj = Win32::OLE->new("Logger") or die; $obj->Output("Goodbye cruel world");
Thanks very much,Dim obj Set obj = CreateObject("Logger") obj.Output("Goodbye cruel world")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Extra spaces in COM strings to stdout?
by graff (Chancellor) on Mar 20, 2004 at 03:21 UTC | |
by kal (Hermit) on Mar 20, 2004 at 15:39 UTC | |
by graff (Chancellor) on Mar 20, 2004 at 15:58 UTC |