Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Capitalize the first letter of each word

by gam3 (Curate)
on Jul 11, 2005 at 17:17 UTC ( #474023=note: print w/replies, xml ) Need Help??


in reply to Capitalize the first letter of each word

As I am not feeling pedantic today. Here is an answer.
print(join' ', map({ ucfirst() } split /\s/, "to say it once"), "\n");
-- gam3
A picture is worth a thousand words, but takes 200K.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2023-01-30 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?