|< 1 2 >| | 12 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!perl
#-fraggs-
use strict;
use warnings;
my $book = 'x:\\locationofbook';
my @liste = "";
print "Wort eingabe: \n";
my $wort = <STDIN>;
open( FILE, "<", $book ) or die $!;
#code to search for the $wort goes here
my $search = $wort
if ($book =~ m/$search/) {
print " $search "; #nicht sicher ob das klappt
} else {
print 'nicht gefunden';
}
close(FILE);
my ($german, $english) = split '-', $line;
my @words = split ';', $german
(?: ... )
1
2
3
4
my $string = 'frei; kostenlos - free';
my ($german, $english) = split /\s*-\s*/, $string;
print "$_\n" for split /\s*;\s*/, $german;
|< 1 2 >| | 12 Einträge, 2 Seiten |