Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2016-10-24 11:02 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (305 votes). Check out past polls.