this solution perfectly work to me:

foreach ( sort { $urls{$a} <=> $urls{$b} } keys %urls ) {
   print LOG "$urls{$_} $_\n";
}
 
thank' to all;
 
but I'm a beginner in perl programing world and i'd like to know how the $a and $b vars work in this case.
 
thank's again!
 
Márcio Oliveira
LPIC-1
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to