Thread Key im Hash ändern
(4 answers)
Opened by bianca at 2010-08-07 16:54 Code (perl): (dl
)
1 2 3 4 5 my @list = $loesche .. keys %test; my @save = delete @test{@list}; pop @list; shift @save; @test{@list} = @save; edit: verkuerzt Last edited: 2010-08-08 01:02:09 +0200 (CEST) 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: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |