On 1 Sep 2000 20:59:10 -0000, Perl6 RFC Librarian wrote:

>This RFC proposes that the second argument to C<bless> be made
>mandatory, and that its semantics be enhanced slightly to cover a
>common, ugly, and frequently buggy usage.

Ooh, how about this alternative.

There must be an RFC making the current implementation of object methods
safer, by passing the object or class not the first item in the
parameter list, but available either through a vairable ($SELF, $ME,
...) or though a function similar in nature to caller(): self().

How about if we defaulted the still optional second parameter to bless,
into the class name of this object or class, i.e. self().

-- 
        Bart.

Reply via email to