Re: RFC 171 (v1) my Dog $spot should call a constructor implicitly
[email protected] (Damian Conway)
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
> =head1 TITLE
>
> C<my Dog $spot> should simply assert that
> C<(!defined($spot) || $spot-E<gt>isa('Dog'))>
>
> And let them duke it out.
You'd have my support for that...I was intending to release an RFC in the next
day or two that is exactly along those lines.
Damian