projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Re: [PATCH] Lighten up glob
[p5sagit/p5-mst-13.2.git]
/
pod
/
perlfaq6.pod
diff --git
a/pod/perlfaq6.pod
b/pod/perlfaq6.pod
index
5100c35
..
ed6c01b
100644
(file)
--- a/
pod/perlfaq6.pod
+++ b/
pod/perlfaq6.pod
@@
-186,7
+186,7
@@
properties of bitwise xor on ASCII strings.
$old = 'test';
$new = 'success';
- s{(\Q$old\E}
+ s{(\Q$old\E)}
{ uc $new | (uc $1 ^ $1) .
(uc(substr $1, -1) ^ substr $1, -1) x
(length($new) - length $1)