Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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

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 lurking in the Monastery: (4)
As of 2016-08-31 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (436 votes). Check out past polls.