>>>>> "Alexander" == Alexander Danel <[EMAIL PROTECTED]> writes:

Alexander> I'd like to be able to force an <error> condition, based upon some
Alexander> checking within an action.  Forcing an "undef" result is not
Alexander> satisfactory, since the parser just assumes the sub-rule failed; I 
want
Alexander> the whole parse to halt.

Just die.

And no, I don't mean *you*.  I mean use "die" in your code.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to