Perl: the Markov chain saw | |
PerlMonks |
VBScript Global 'Err' Available in Win32::OLEby thartman@mst.edu (Initiate) |
on Nov 04, 2014 at 18:19 UTC ( [id://1106081]=perlquestion: print w/replies, xml ) | Need Help?? |
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?
Back to
Seekers of Perl Wisdom
|
|