in reply to Re^2: List context lost when goto selectrow_array?
in thread List context lost when goto selectrow_array?

So, in other words, you wanted DBI errors to be reported as coming from DBI and ignoring that your code is in there in the middle. This is the exact reason I hate working with Java - everything is action at a distance and you have to wade through a gazillion files to find the error. Perl reports the error where it does cause that's where the error is! Don't mess with that.

Honestly, I think you're waaaaay overthinking this. Is there some major problem that you're attempting to address? Is there something that has been going wrong that you're looking to fix? Or, is this from some "code purity" motive? Code purity is good, but not at the expense of the ability to change code safely. Everything else is second to that.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re^3: List context lost when goto selectrow_array?