Packages / openSUSE Leap 15.6 / Source / Development/Libraries/Perl / perl-Text-Capitalize

Source Package: perl-Text-Capitalize (1.5-bp156.3.1)

Capitalize strings ("to WORK AS titles" becomes "To Work as Titles")

Text::Capitalize provides some routines for *title-like* formatting of strings. The simple *capitalize* function just makes the inital character of each word uppercase, and forces the rest to lowercase. The *capitalize_title* function applies English title case rules (discussed below) where only the "important" words are supposed to be capitalized. There are also some customization features provided to allow the user to choose variant rules. Comparing *capitalize* and *captialize_title*: Input: "lost watches of splitsville" capitalize: "Lost Watches Of Splitsville" capitalize_title: "Lost Watches of Splitsville" Some examples of formatting with *capitalize_title*: Input: "KiLLiNG TiMe" capitalize_title: "Killing Time" Input: "we have come to wound the autumnal city" capitalize_title: "We Have Come to Wound the Autumnal City" Input: "ask for whom they ask for" captialize_title: "Ask for Whom They Ask For" Text::Capitalize also provides some functions for special effects such as *scramble_case*, which typically would be used for this sort of transformation: Input: "get whacky" scramble_case: "gET wHaCkY" (or something similar)

Package information

Homepage
[https://metacpan.org/release/Text-Capitalize]
License
Artistic-1.0 OR GPL-1.0-or-later
Downstream package maintainer
Unknown: not reported in the indexed source

The following binary packages are built from this source package:

Known vulnerabilities

No matching advisories in the tracked sources.

Last synced:

[CVE catalog]

Sources

  • Authoritative source; repository metadata signature verified

    Signature evidence

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable