Matti Mäkitalo: Perl Hashes sortieren

Beitrag lesen

Hi,

my %sorted = sort {$a->[4] <=> $b->[4]} %ip;

  
Hashes sind immer unsortiert. Siehe z.B. perldoc perldata:  
Hashes are unordered collections of scalar values indexed by their  
associated string key.  
  
Bis die Tage,  
Matti

-- 
[Webapplikationen in C++ entwickeln](http://tntnet.org/)