in reply to Re: My AUTOLOAD doesn't work in newer Perls. How to fix?
in thread My AUTOLOAD doesn't work in newer Perls. How to fix?

That's what I said.

How do I trap errors produced by a construct that is not allowed in an eval block?

  • Comment on Re^2: My AUTOLOAD doesn't work in newer Perls. How to fix?

Replies are listed 'Best First'.
Re^3: My AUTOLOAD doesn't work in newer Perls. How to fix?
by moritz (Cardinal) on May 17, 2011 at 13:49 UTC
    You call the routine normally, instead of using goto.

    Think a bit about it: the goto SUBREF thing replaces the current call frame. How could it still keep the exception handler of old call frame?