perlre: Fix syntax error in example
authorFather Chrysostomos <sprout@cpan.org>
Thu, 15 Nov 2012 20:46:36 +0000 (12:46 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 15 Nov 2012 23:57:14 +0000 (15:57 -0800)
pod/perlre.pod

index de58bac..59a8abe 100644 (file)
@@ -1258,7 +1258,7 @@ a literal string is handled, for example
 
 In particular, braces do not need to be balanced:
 
-    /abc(?{ f('{'); })/def/
+    s/abc(?{ f('{'); })/def/
 
 Even in a pattern that is interpolated and compiled at run-time, literal
 code blocks will be compiled once, at perl compile time; the following