|< 1 2 >| | 13 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
open (FILE,"datei.txt");
$i=0;
foreach $row (<FILE>) {
$file->[$i] = \split(/\s/,$row);
$i++;
}
print Dumper($file);
close(FILE);
1
2
3
4
5
6
7
open (FILE,"<datei.txt");
my @file = ();
while(my $row = <FILE>) {
push(@file,[split(/\s/,$row)]);
}
close(FILE);
print Dumper(\@file);
use Data::Dumper;
|< 1 2 >| | 13 Einträge, 2 Seiten |