Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by japhy (Canon)
on Jul 24, 2000 at 02:54 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://24019]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-24 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found