On 6/1/05, Michele Dondi <[EMAIL PROTECTED]> wrote: > On Wed, 1 Jun 2005, Luke Palmer wrote: > > > $ordered = [<] @array; > > > > If @array is empty, is $ordered supposed to be true or false? It > > certainly shouldn't be anything but those two, because < is a boolean > > operator. > > I read that (mathematically) as "for all i, for all j such that j-i=1, > a_i<a_j", which is certainly satisfied by an empty list.
Yep, it sure is. Now tell Perl to read it that way for any operator. Luke