Thread Variablen aus einem array erstellen (21 answers)
Opened by Gast at 2008-08-21 16:22

havi
 2008-08-21 16:57
#113835 #113835
User since
2003-08-04
2036 Artikel
BenutzerIn
[Homepage]
user image
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/perl

use warnings;
use strict;

my @coord = ("a111", "a112", "a113");

my @coord2 = ();
for (my $i = 0; $i <= $#coord; $i++) {
$coord2[$i] = "\$".$coord[$i];
} # for

print join("\n", @coord2);


Gruss,
havi

View full thread Variablen aus einem array erstellen