thartman@mst.edu has asked for the wisdom of the Perl Monks concerning the following question:
Is the VBScript/VB global variable Err accessible in Win32::OLE?
I'm invoking a function (e.g. SWbemServices.ExecQuery) that sets a global variable.
In my case, I'm executing a WQL query. When I give it bad SQL/WQL, Win32::OLE->LastError() doesn't seem to contain any indication of that. The Win32::OLE docs don't say anything about the source of LastError(), only that it's the last error set.
Does anyone know if Err is available through Win32::OLE?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: VBScript Global 'Err' Available in Win32::OLE
by Loops (Curate) on Nov 04, 2014 at 20:33 UTC | |
by thartman@mst.edu (Initiate) on Nov 05, 2014 at 14:40 UTC |