This is unrelated to the problem you mentioned, but there is another annoying problem with sort as it is currently defined. If you have an @array and you want to replace it with the sorted version, you have to type @array = sort @array;
That would seem to be a place for more explicit, and specific, behaviour. Since we're going "everything is an object" then it's just a matter of:
@array.sort_in_place;
and making sure that the array role provides the appropriate method. -- Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk