Is $main'ora_errstr same as $main::ora_errstr?
In reply to Re: Scope of variables by wfsp in thread Scope of variables by Nalina