in reply to Re: Re: seeking eval enlightenment
in thread seeking eval enlightenment

Don't forget to check $@ afterwards. As pointed out in eval, in addition to evaluating code, eval traps errors and puts them into $@. So minor typos etc will get trapped, and can cause puzzling failures.

Replies are listed 'Best First'.
Re: Re: Re: Re: seeking eval enlightenment
by geekgrrl (Pilgrim) on May 04, 2004 at 00:01 UTC
    i left out that line of code -
    it follows with:
    die "$@ $code" if $@;
    thanks for the reminder though.