Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Capitalize the first letter of each word

by Adrade (Pilgrim)
on Jul 11, 2005 at 18:18 UTC ( #474045=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub reform {
      my $line = shift;
      my @toret;
    ...
    
      return join("",@toret);
    }
    
  2. or download this
    adrade@antigone:~$ perl -e 'print ucfirst("il"),"\n"'
    Il
    ...
    Hello
    adrade@antigone:~$ perl -e 'use ref; print reform("Mrs"),"\n"'
    Mrs.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2023-02-02 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (19 votes). Check out past polls.

    Notices?