Re: RFC 218 (v1) C<my Dog $spot> is just an assertion
[email protected] (Michael G Schwern) Mon, 18 Sep 2000 12:47:39 -0400
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Sep 18, 2000 at 09:48:27AM +0100, Piers Cawley wrote: > Michael G Schwern <[email protected]> writes: > > Nope. fields::new() basically just does C<bless > > [\%{"$class\::FIELDS"}], $class>, but the current pseudohash > > implementation doesn't care if something is an object or not. It just > > cares about either A) its type or B) what's in $ph->[0]. > > Hmm... it still feels like undocumented behaviour. I'd definitely be > inclined to tighten up the base/fields behaviour. My feeling is that > the proposal makes them closer to the Right Thing. Its plenty documented. But if we simply put a bullet into pseudo-hashes, as per RFC 241, this all goes away. -- Michael G Schwern http://www.pobox.com/~schwern/ [email protected] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse But why? It's such a well designed cesspool of C++ code. Why wouldn't you want to hack mozilla? -- Ziggy