Thread Array aufruf mit einer Variablen (9 answers)
Opened by zipster at 2005-10-14 19:26

pq
 2005-10-14 19:32
#58862 #58862
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
ja.
my %hash;
$hash{test} = ["1111"];
my $variable = "test";
print "@{$hash{$variable}}";
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 aufruf mit einer Variablen