Leser: 1
|< 1 2 >| | 16 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
C:\>perl
$string = "abc";
$string =~/abc/xyz/si;
Bareword found where operator expected at - line 3, near "/abc/xyz"
(Missing operator before yz?)
^Z
syntax error at - line 3, near "/abc/xyz"
Execution of - aborted due to compilation errors.
C:\>
$string =~ s/al/ex/g;
1
2
3
$string = 'Hallo';
$string=~ s/al/ex/g;
print $string; # jetzt ist $string = 'Hexlo' und nicht 'Hexxo'
|< 1 2 >| | 16 Einträge, 2 Seiten |