Piers Cawley writes: > Luke Palmer <[EMAIL PROTECTED]> writes: > > Also, the "standard library", however large or small that will be, will > > definitely be mutable at runtime. There'll be none of that Java "you > > can't subclass String, because we think you shouldn't" crap. > > Great. But will it also be possible to add methods (or modify them) > to an existing class at runtime?
Parrot supports it, so I don't see why Perl wouldn't. > You only have to look at a Smalltalk image to see packages adding > helper methods to Object and the like (better to add a do nothing > method to Object that find yourself doing C<$thing.do_that if > $thing.can('do_that')> all the time...) Agreed completely. Plus, there are some cool things you can do by mutating methods of Object, like implementing auto-rollback variables. (A6 C<let foo()> behavior). Luke