On 6/29/07, via RT Paul Cochrane <[EMAIL PROTECTED]> wrote:

# New Ticket Created by  Paul Cochrane
# Please include the string:  [perl #43417]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43417 >


Hi all,

As part of going through and converting internal_exception()s to
real_exception()s (see RT#40392) I've found several functions which
could use real_exception(), but to use this they would have to have
the interpreter passed in as an argument, hence changing their API.
Is it worth changing these functions' API just for a real_exception()?

Comments most definitely welcome!

Paul


Hi Paul
just a short thought. Apparently the exception can be caught, as it is a
real exception, not a fatal (internal) exception; thus apparently if it is
possible (if the situation is considered appropiate) to do so, then the
interpreter structure is needed, otherwise it's just not possible.
So, in other words, I think it would be well worth it to adjust the API, as
it is only a single extra argument, and it makes behaviour/expectations more
consistent and correct.

just my 2c,

kjs

Reply via email to