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

Re: Capitalize the 1st letter of each word

by thelenm (Vicar)
on Jan 15, 2004 at 19:56 UTC ( #321650=note: print w/replies, xml ) Need Help??


in reply to Capitalize the 1st letter of each word

my @array = qw(foo bar foobar barfoo 1 2 3); my @caps = map "\u$_", @array; print "@caps\n";

-- Mike

--
XML::Simpler does not require XML::Parser or a SAX parser. It does require File::Slurp.
-- grantm, perldoc XML::Simpler

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://321650]
help
Chatterbox?
[Corion]: erix: Heh ;) Transcribing/ writing notes is a good thing, at least for the stuff out of copyright!

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2018-06-24 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?