Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Text::Capitalize 1.3

    Download button

    No screenshots available
    Downloads: 357  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.8/5)
    9 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Joseph Brenner | More programs
    Perl Artistic License / FREE
    August 31st, 2011, 12:45 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Text::Capitalize description

    A Perl to capitalize strings ('to WORK AS titles' becomes 'To Work as Titles').

    Text::Capitalize is a Perl to capitalize strings ("to WORK AS titles" becomes "To Work as Titles").

    SYNOPSIS

    use Text::Capitalize;

    print capitalize("...and justice for all"), "n";
    ...And Justice For All

    print capitalize_title("...and justice for all"), "n";
    ...And Justice for All

    print capitalize_title("agent of SFPUG", PRESERVE_ALLCAPS=>1 ), "n";
    Agent of SFPUG

    print capitalize_title("the ring: symbol or cliche?", PRESERVE_WHITESPACE=>1 ), "n";
    The Ring: Symbol or Cliche?
    (Note, double-space after colon is still there.)

    # To work on international characters, may need to set locale to something appropriate
    use Env qw(LANG);
    $LANG = "en_US";
    print capitalize_title("�ber maus"), "n";
    �ber Maus

    use Text::Capitalize qw(scramble_case);
    print scramble_case('It depends on what you mean by "mean"');
    It dEpenDS On wHAT YOu mEan by "meAn".


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    capitalize strings | text capitalize | Perl module | capitalize | strings | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM