Re: RFC 224 (v1) Objects : Rationalizing C<ref>, C<attribute::reftype>, and C<builtin::blessed>
[email protected] (Graham Barr) Tue, 19 Sep 2000 14:34:30 +0100
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Sep 18, 2000 at 08:54:30AM -0600, Tom Christiansen wrote: > >This RFC proposes that rather than three separate mechanisms (in three > >separate namespaces) to determine object typing information, Perl 6 > >simply extend the C<ref> function to return all the necessary > >information in a list context. > > That sounds nice. It would also cure the funny business I tacitly > demonstrated in my last message in which ref defaults to $_ but > that reftype does not. It also reminds me of an RFC I did not submit, which was about reftype() and blessed() in the Scalar::Util package. Currently it is not very efficient to determine if a reference is blessed Graham.