Jos Visser <[EMAIL PROTECTED]> wrote:
> Hi,

> 1)    Is there an efficient way to trap the failure of a "find_lex"?

Not yet. We have to clean up the internal_exception stuff first.
C<find_lex> could e.g. return a NULL in case of failure, and we could
then throw an exception in F<var.ops> at the opcode-level, so that the
exception would be resumable.

> 2)    What about a "search_lex" op that follows the format of
>       "find_lex" but which stores null in the target PMC register
>       (Px). To make this really useful an "isnull" comparison operator
>       would come in handy too...

defined I0, Px would do it.

> ++Jos.es

leo

Reply via email to