tt.pl 188 Bytes
Newer Older
Loïc Barrault's avatar
Loïc Barrault committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

$_ = 'abcde';
s/(\w)(\w)/$2$1/g;
print "$_\n";

$_ = 'abcde';
while (s/(a)(\w)/$2$1/) { }
print "$_\n";







exit;

while (<>) {
    print "$1\n" if /\"(http:[^\"<>]*\.htm(l)?)\"/;
}