Re: explicit boolean accessor
[email protected] (Nathan Torkington)
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
Nathan Wiger writes: > > This works in Perl5. > > Right, a lot of this stuff (like STRING and BOOLEAN) can be accomplished > through overloading. However, having a standard builtin method similar > to tie and import makes things easier and more consistent I think. If we > make "everything an object" then these become necessities. So what you want is for overloading to become easier, probably via predefined methods? Excellent topic for an RFC. Nat