Perhaps you should use Win32::OLE->LastError() instead of $! for a descriptive OLE error msg.
$! is for perl errors not OLE, note that Win32::OLE->LastError() is context sensitive like $!.
It reports the error number in numeric context and an error msg in string context
I would even consider setting the Warn option to always croak, in normal situations like this
Win32::OLE->Option(Warn => 3);HTH
In reply to Re: Re: Re: MS Outlook GetSharedDefaultFolder
by guha
in thread MS Outlook GetSharedDefaultFolder
by Mitch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |