Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Text-Capitalize-1.5-1.18 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: perl-Text-Capitalize Distribution: openSUSE:Factory:zSystems
Version: 1.5 Vendor: openSUSE
Release: 1.18 Build date: Mon Aug 7 19:07:37 2023
Group: Development/Libraries/Perl Build host: s390zp2a
Size: 35243 Source RPM: perl-Text-Capitalize-1.5-1.18.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/Text-Capitalize
Summary: 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)

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Sat Sep 28 2019 <timueller+perl@suse.de>
  - updated to 1.5
    see /usr/share/doc/packages/perl-Text-Capitalize/Changes
    1.4  Changed uc calls to ucfirst (hypothetically better
      for title-casing with unicode strings)
    1.5  Removed PerlIO::locale dependency from tests,
      got rid of the Andy Lester tests of pod and such.
* Wed Apr 15 2015 coolo@suse.com
  - initial package $version
    * created by $NAME $VERSION

Files

/usr/lib/perl5/vendor_perl/5.38.0/Text
/usr/lib/perl5/vendor_perl/5.38.0/Text/Capitalize.pm
/usr/share/doc/packages/perl-Text-Capitalize
/usr/share/doc/packages/perl-Text-Capitalize/Changes
/usr/share/doc/packages/perl-Text-Capitalize/README
/usr/share/man/man3/Text::Capitalize.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Mar 9 12:39:58 2024