Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Pig Latin

by Anonymous Monk
on Feb 17, 2000 at 02:16 UTC ( #3593=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(<>) {
        s{ \b([bcdfghjklmpqrstvwxyz]?)(\w+) }
    ...
           else   {$2."way"} }egix;
        print;
        }
    
  2. or download this
    while(<>) {
        s{ \b([bcdfghjklmpqrstvwxyz]*)([aeiou]+)(\w*) }
    ...
           else   {$2.$3."way"} }egix;
        print;
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://3593]
help
Chatterbox?
[ambrus]: morning
[Discipulus]: good morning ambrus

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2017-01-20 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.