You can use eval and check $@ for this
In reply to Re: feedback on successful module loading by ccn in thread feedback on successful module loading by ggg