Thread Array aufruf mit einer Variablen
(9 answers)
Opened by zipster at 2005-10-14 19:26
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: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |