Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?
[RonW]: RPerl is only a curiosity to me. I can see where some one who primarily codes in Perl might find RPerl useful, but to me, given the choice between RPerl's restrictions and C, I'd choose C
[LanX]: Rperl had better chances as alternative for inline::cpp
[LanX]: thus optimizing inner loops
[LanX]: .... well

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-05-22 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?