in reply to Conditional including of a module

You can suppress the error by using eval

eval 'use Win32::OLE'; if($@) { #Do nothing. }
--Lakshmanan G.

The great pleasure in my life is doing what people say you cannot do.