[oak perl] untrappable perl errors
Belden Lyman
blyman at iii.com
Thu May 29 11:30:26 CDT 2003
George Woolley wrote:
>
> Belden,
> Well, that seems a reasonable assumption.
> But after reading the two passages I quoted,
> I now believe that return is legal within an eval
> without needing to be part of a subroutine.
> If that is the case,
> the return in the example does not cause an error
> hence there is no call on die.
> Is that what you've concluded too?
Aha! That time what you were saying "clicked". Thanks
for persisting :)
>
> I'm guessing, you'll be using the eval EXPR form of eval
> in your self-modifying code
> since the documentation says the eval BLOCK form of eval
> is compiled only once.
> Is that so?
>
That's right. Like everything, though, I learned that the
hard way ("why can't I change this subroutine and re-install
it?!").
> Your "toyings" sound very interesting.
> If there are some key insights you feel like sharing here
> at some point,
> that would be most kool.
>
"Read and understand the docs" certainly applies to me right now...
Belden
More information about the Oakland
mailing list