Thread Key im Hash ändern
(4 answers)
Opened by bianca at 2010-08-07 16:54
oder als ansatz fuer golfer:
Code (perl): (dl
)
1 2 my @list = $loeschen .. keys %test; (undef, @test{ @list[0 .. $#list-1] }) = delete @test{@list}; 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 |