Thread Neuling bruacht Hilfe!
(10 answers)
Opened by Spuki at 2007-07-16 15:13 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 my @array1 = qw(1 2 4 7 2 4 1); my @array2 = qw(...); # ... weitere arrays ... my @index = sort{ $array1[$a] cmp $array2[$b] }@array1; @array1 = @array1[@index]; @array2 = @array2[@index]; # ... weitere arrays ... ungetestet... OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/) -- Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html Perl-Entwicklung: http://perl-services.de/ |