Thread Grundsatzfrage zum Aufruf einer Sub (8 answers)
Opened by RPerl at 2007-03-24 11:31

pq
 2007-03-25 03:00
#75326 #75326
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
oder so:
Code: (dl )
1
2
3
4
5
6
7
perl -wle'
@a = qw(a b c);
print \$a[0];
sub test { print \$_[0]; }
test(@a)'
SCALAR(0x8151c20)
SCALAR(0x8151c20)
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 Grundsatzfrage zum Aufruf einer Sub