An excellent point, Hugh.  And don't forget to check $@ afterward for
non-OLE errors as well, especially in more complex programs.  Those can
always creep up and surprise you.

For instance,

eval {...}

if ($@) {
    # report and respond to the potential error here...
}

Michele
_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to