Leser: 17
1
2
3
4
5
6
7
8
my @se = <FILE>;
my @line_fields;
foreach my $line (@se) {
chomp $line;
@line_fields = split( /\s/, $line ); #beim ersten space!!! und füge "du" ein
}
}
$line =~ s/ / du /;
1 2 3 4
my $n = 1; my @words = split / /, $line; splice @words, $n, 0, "du"; $line = join " ", @words;