Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Ook interpreter

by GrandFather (Sage)
on Aug 02, 2005 at 11:26 UTC ( #480146=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    $pc = $stack [-1];
    pop @stack;
    }
    
  2. or download this
    __DATA__
    Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    ...
    Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
    Ook! Ook.
    
  3. or download this
    use warnings;
    use strict;
    ...
    $OokCode =~ s/(?<!O)o/Ook! Ook. /g;
    
    print ((substr $OokCode, 0, 70, "") . "\n") while length $OokCode;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://480146]
Approved by herveus
Front-paged by Tanalis
help
Chatterbox?
[chacham]: the caption translatio doesn't help either
[Your Mother]: karlgoethebier++
[karlgoethebier]: Keith Richards was right: Rap Is for 'Tone-Deaf People'
[holli]: tone deaf? and that from a guy whos music is basically line noise

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-12-13 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (373 votes). Check out past polls.

    Notices?