Thread regulärer ausdruck
(18 answers)
Opened by Gast at 2004-07-13 17:39
so vielleicht? (achtung ungetestet)
@a1 = grep { tr/.// == 1} @array; @a2 = grep { tr/.// == 2} @array; # etc. 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 |