Randal L. Schwartz
|| at Jun 3, 2005 at 11:03 am
"Alexander" == Alexander Danel 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.
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
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!