When you say sort($a cmp $b) it sorts ascendingly. When you say sort{$b <=> $a) it sorts descendingly.
Cheers, Rex -----Original Message----- From: nafiseh saberi [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 7:48 AM To: Rex Arul Subject: thx hi. I am from Iran... thx...but do you know how can sort increasingly or decreasingly ??? I read the doc in perl.com but done find any thing about it. keep in touch.. thx again. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= best regrds. A bird in the hand ,is worth two in the bush www.iraninfocenter.net www.sorna.net -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]