http://www.perlmonks.org?node_id=1017584


in reply to Windows OLE in Perl, System Restore

If you're not going to check for errors yourself, let Win32::OLE do the error checking, see getting automatic error checking with Win32::OLE and Moose, use  Win32::OLE->Option(Warn => \&Carp::croak);