Thread array auf hash (5 answers)
Opened by RPerl at 2008-03-22 14:51

pq
 2008-03-22 15:19
#107362 #107362
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
Code (perl): (dl )
my %hash = map { $_ => '' } @array;
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 auf hash