Thread
Arrays are not lists
(14 answers)
Opened by
KurtZ
at
2008-02-23 17:30
pq
2008-02-23 18:21
User since
2003-08-04
12209 Artikel
Admin1
Code (perl): (
dl
)
1
2
3
sub
ret_slice_array3
{
return
()
=
@_
[
0
..
$#_
];
}
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
Arrays are not lists