Thread suchen und ersetzen (15 answers)
Opened by Robby at 2003-10-13 15:15

Strat
 2003-10-13 15:43
#62649 #62649
User since
2003-08-04
5246 Artikel
ModeratorIn
[Homepage] [default_avatar]
[quote=steinwolf,13.10.2003, 13:38]$string = "abc";

$string =~/abc/xyz/si;

#$string ist nun "xyz"[/quote]
@Steinwolf: tr vergessen?
Code: (dl )
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:\>
perl -le "s::*erlco'unaty.'.dk':e,y;*kn:ai;penmic;;print"
http://www.fabiani.net/

View full thread suchen und ersetzen