You can suppress the error by using eval
eval 'use Win32::OLE'; if($@) { #Do nothing. }
The great pleasure in my life is doing what people say you cannot do.
In reply to Re: Conditional including of a module
by lakshmananindia
in thread Conditional including of a module
by edwardo_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |