@a= qw (68 3 5 67 54 23 69 ); @b = sort {-1} @a; ### what happens here ! results = 5,3,68,67,69,23,54
@c = sort {$a<=>$b} @a; ### what happens here ! results = 3,5,23,54,67,68,69 I know that sort by default sort in ascii order, I wanted to know what exactly happens to the "spaceship" operator. Could somebody help me to visualize what's taking place. Thanks _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]