Thread Array - anonym oder benannt? (14 answers)
Opened by hugenyn at 2011-02-26 00:20

pq
 2011-02-26 22:51
#146086 #146086
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
man kann auch so das original verändern:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
perl -wE'
sub foo {
$_[0]++
}
my @a = 1 .. 3;
say "@a";
foo(@a);
say "@a";
'
1 2 3
2 2 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: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Array - anonym oder benannt?