[Home]FreeUpper

UseModWiki | RecentChanges | Preferences

A global variable that specifies whether the first letter of each word is forced upper or not. 1 by default.

  if ($FreeUpper) {
    # Note that letters after ' are *not* capitalized
    if ($id =~ m|[-_.,\(\)/][a-z]|) {    # Quick check for non-canonical case
      $id =~ s|([-_.,\(\)/])([a-z])|$1 . uc($2)|ge;
    }
  }

UseModWiki | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited March 29, 2005 4:52 pm by MarkusLude (diff)
Search: