Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: Title Case One-Liner

by MeowChow (Vicar)
on Feb 10, 2001 at 03:38 UTC ( [id://57519]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Title Case One-Liner
in thread Title Case One-Liner

Nice, but both this and chipmunk's can't handle "just,another,list,of,words" (ie. punctuation without spaces)... why not just:
s/(\w+)/\u\L$1/g;
Update: eating self-served humble pie, never mind, this can't deal with "i promise i won't shouldn't can't reply without thinking..." :)

Replies are listed 'Best First'.
Re: Re: Re: Re: Title Case One-Liner
by japhy (Canon) on Feb 10, 2001 at 03:44 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-25 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found