in reply to Re^2: How to subclass DBI and still have the errors reported in user code
in thread How to subclass DBI and still have the errors reported in user code

I think Perl 6 has the callwith function for that (see The context and caller functions)

I don't know if there is more elegant perl 5 solution

  • Comment on Re^3: How to subclass DBI and still have the errors reported in user code
  • Download Code