Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Yoda Speak Translator

by grep (Monsignor)
on Apr 26, 2002 at 06:15 UTC ( #162190=CUFP: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w
    use strict;
    ...
        # Sentence case
        $sentence = ucfirst(lc($sentence));
    }
    
  2. or download this
    sub yoda {
        my ($sentence) = @_;
    ...
        # Sentence case
        $sentence = ucfirst(lc($sentence));
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://162190]
Approved by andye
Front-paged by ignatz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-10-01 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (389 votes), past polls