Thread Dynamische Variable (6 answers)
Opened by BSC at 2009-12-05 11:28

Mikmak
 2009-12-12 02:39
#129241 #129241
User since
2004-08-15
19 Artikel
BenutzerIn
[default_avatar]
Code: (dl )
1
2
3
4
5
6
7
8
9
10
my @list = qw (a b c d);

foreach (@list){
local ${$_} = $_;

}
print "Inhalt a: " . $a ."\n";
print "Inhalt b: " . $b ."\n";
print "Inhalt c: " . $c ."\n";
print "Inhalt d: " . $d ."\n";


Vielleicht ist es das was du suchst

View full thread Dynamische Variable