Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Capitalize the first letter of each word

by radiantmatrix (Parson)
on Jul 12, 2005 at 19:12 UTC ( #474361=note: print w/replies, xml ) Need Help??


in reply to Capitalize the first letter of each word

Whee!

my $start = 'to say it once'; print join ' ', map { ucfirst($_) } split '\s', $start;
Larry Wall is Yoda: there is no try{}
The Code that can be seen is not the true Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2023-02-05 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (33 votes). Check out past polls.

    Notices?