Thread hash einer funktion übergeben (23 answers)
Opened by mr-sansibar at 2006-06-16 14:08

pq
 2006-06-16 15:08
#8042 #8042
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
Code: (dl )
1
2
3
4
5
funktion(\%hash);
sub funktion {
 my ($hash) = @_;
 print $hash->{key};
}
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 hash einer funktion übergeben