Thread Zeilen Array als Spalten Array speichern (14 answers)
Opened by Tulkas77 at 2005-09-28 15:51

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

use warnings;
use strict;

my @array = ("Gernot", "\n", "Havranek", "\n", "Havi");
print @array, "\n";
for (my $i = 0; $i <= $#array; $i++) {
$array[$i] =~ s%\n%;%g;
} # for
print @array;

View full thread Zeilen Array als Spalten Array speichern