[EMAIL PROTECTED] (Larry Wall) writes:
> is classof($x)

Ouch. $x's class isn't a property or trait of it?

>     class AnonClass is classof($x) does FooBar { }.bless($x, foobar => bar)

I don't understand what the bit at the end is doing. This is calling .bless
on the overriden method? And I'm not sure I follow the 'foobar => bar'.

> I think I'm happier with that.  $rubyometer += 0.3 or so.  :-)

Except it loses about 5 points for that classof thing. ;)

-- 
As in certain cults it is possible to kill a process if you know its true name.
                -- Ken Thompson and Dennis M. Ritchie

Reply via email to