Thread Hash und Reihenfolge
(4 answers)
Opened by eraemien at 2011-05-01 11:38
ein hash ist nicht sortiert.
wenn du etwas in einer bestimmten reihenfolge brauchst, nimm ein array, oder sortiere die hashkeys so wie du es brauchst. 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: ![]() ![]() |