Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: A question of logic and syntax

by repson (Chaplain)
on Apr 28, 2001 at 06:15 UTC ( #76334=note: print w/ replies, xml ) Need Help??


in reply to A question of logic and syntax

Don't try to use a simple ucfirst to 'fix' names since for many names such as "McCarthy O'Neil", and other complex names will be broken. However the CPAN module Lingua::EN::NameCase is designed to use all the special rules to create the right case.

$name = nc($name); # change if ($name eq nc($name)) {} # test


Comment on Re: A question of logic and syntax
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://76334]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2015-07-07 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls