Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Capitalize the first letter of each word

by Adrade (Pilgrim)
on Jul 11, 2005 at 18:18 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-18 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found