Petr Didenko (kippie) wrote,
Petr Didenko
kippie

А как более правильно делать сортировку выводы хэша?

foreach $nnn (sort { $virus{$b} <=> $virus{$a} } keys %virus) {
$out .= " $virus{$nnn} - $nnn\n";
}
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments