Re: error handling and syntax extension
[email protected] ("David L. Nicol") Wed, 16 Aug 2000 16:49:15 -0500
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Organization | University of Missouri - Kansas City supercomputing infrastructure |
| Message-ID | <[email protected]> |
or AUTOLOAD can be defined in terms of C<catch>
and overloaded that way, rather than being its own
kind of magic.
catch "AUTOLOAD-$classname-$polymorphicsignature" {...
Jonathan Scott Duff wrote:
>
> On Wed, Aug 16, 2000 at 12:15:30PM -0500, David L. Nicol wrote:
> > If "catch" can be defined DURING PARSING
> >
> > and SYNTAX ERRORS are catchable
> >
> > error handling can be used to define otherwise
> > undefined syntax, becoming a macro language.
>
> And AUTOLOAD can go away too! :-)
>
> -Scott
> --
> Jonathan Scott Duff
> [email protected]
--
David Nicol 816.235.1187 [email protected]
Useless use of a void in constant context