1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/textproc/p5-Text-Capitalize/pkg-descr
Aaron Dalton 3c581302ff Add p5-Text-Capitalize 0.5, capitalize strings ("to WORK AS titles"
becomes "To Work as Titles").

PR:		ports/92856
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru>
Approved by:	tobez (implicit)
2006-02-17 23:36:38 +00:00

14 lines
592 B
Plaintext

Text::Capitalize provides a few different flavors of procedures for
title-like formatting for strings.
For the "capitalize" function Title-like (written by Stanislaw Y.
Pusep) formatting consists of ensuring that the first letter of
each word is uppercase, and that the rest is lowercase.
The "capitalize_title" function tries to get closer to English title
capitalization rules 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.
WWW: http://search.cpan.org/dist/Text-Capitalize/