Thread Hashes verbinden (18 answers)
Opened by Froschpopo at 2006-10-11 17:19

pq
 2006-10-11 19:15
#70680 #70680
User since
2003-08-04
12208 articles
Admin1
[Homepage]
user image
[quote=Taulmarill,11.10.2006, 16:36]woher willst du wissen, dass keys und values in kommenden perl-versionen die selbe reienfolge haben werden?[/quote]
aus perldoc -f keys:
Quote
              The keys are returned in an apparently random order.  The
              actual random order is subject to change in future versions of
              perl, but it is guaranteed to be the same order as either the
              "values" or "each" function produces (given that the hash has
              not been modified).
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Hashes verbinden