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

RE: RE: (3)Perl Golf (Pig Latin dialect + clever regexes)

by japhy (Canon)
on Jul 24, 2000 at 02:54 UTC ( #24019=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/\b(qu|[^\W0-9_aeiou]+)?(\w+)/$1?"$2\0$1ay":"$2\0ay"/egi;
    
  2. or download this
    package PigLatin;
    
    ...
    }
    
    1;
    
  3. or download this
    use PigLatin;
    $plain = "Practical Extraction and Report Language";
    $funny = to PigLatin $plain;
    $reg   = from PigLatin $funny;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://24019]
help
Chatterbox?
[GotToBTru]: have you looked on CPAN?

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-02-22 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (335 votes). Check out past polls.