in reply to Re: Re: sort mechanism
in thread sort mechanism

My question then becomes where would this be documented? How would I known this without playing around? (Granted, the playing was still fun and enlightening, but that's not the point.)

Replies are listed 'Best First'.
Re (tilly) 4: sort mechanism
by tilly (Archbishop) on Apr 07, 2001 at 05:19 UTC
    It should be documented in sort, but it is not. Probably because they didn't think up useful behaviour and didn't want to document intentionally useless behaviour. (Though I would have preferred to see fatally useless behaviour, or at least a warning...

    Personally I think that sort in scalar context should sort the array in place. But that is just me...