Skip to content
This repository
Browse code

clean up some ucfirst fossils

fixes #15
  • Loading branch information...
commit c9397212010722b5ef58d9f94632b7934c58d58c 1 parent 5dfd996
Larry Wall authored
6  S02-bits.pod
Source Rendered
@@ -13,8 +13,8 @@ Synopsis 2: Bits and Pieces
13 13
 
14 14
     Created: 10 Aug 2004
15 15
 
16  
-    Last Modified: 17 May 2012
17  
-    Version: 266
  16
+    Last Modified: 28 Jul 2012
  17
+    Version: 267
18 18
 
19 19
 This document summarizes Apocalypse 2, which covers small-scale
20 20
 lexical items and typological issues.  (These Synopses also contain
@@ -4024,7 +4024,7 @@ whitespace in a regex.)  Literal character representations are:
4024 4024
 =head3 Other functions
4025 4025
 
4026 4026
 There's also no longer any C<\L>, C<\U>, C<\l>, C<\u>, or C<\Q>.
4027  
-Use curlies with the appropriate function instead: C<"{ucfirst $word}">.
  4027
+Use curlies with the appropriate function instead: C<"{tclc $word}">.
4028 4028
 
4029 4029
 =head3 Unicode codepoints
4030 4030
 
5  S05-regex.pod
Source Rendered
@@ -251,8 +251,9 @@ Recognized policies include:
251 251
 
252 252
     lc()
253 253
     uc()
254  
-    ucfirst(lc())
255  
-    capitalize()
  254
+    tc()
  255
+    tclc()
  256
+    tcuc()
256 257
 
257 258
 In any case, only the officially matched string part of the pattern
258 259
 match counts, so any sort of lookahead or contextual matching is not
2  S32-setting-library/Str.pod
Source Rendered
@@ -110,7 +110,7 @@ leaving the rest of the characters unchanged, then returns the
110 110
 modified string.  If there is no titlecase mapping for the first
111 111
 character, the entire string is returned unchanged.  In any case,
112 112
 this function never changes any character after the first.  (It
113  
-is like the old C<ucfirst> function in that respect.)
  113
+is like the old Perl 5 C<ucfirst> function in that respect.)
114 114
 
115 115
 =item tclc
116 116
 

0 notes on commit c939721

Please sign in to comment.
Something went wrong with that request. Please try again.