Thread
Array teilen
(9 answers)
Opened by
rosti
at
2011-07-14 17:40
pq
2011-07-14 17:46
User since
2003-08-04
12209 Artikel
Admin1
Code (perl): (
dl
)
1
2
3
4
my
@new
;
while
(
@old
)
{
push
@new
,
[
splice
@old
,
0
,
3
];
}
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
View full thread
Array teilen