Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: YAPC::EU::2013 reg.ru Go Perl golf contest

by nobull (Friar)
on Aug 14, 2013 at 21:21 UTC ( [id://1049483]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl
    $_=++$/x11 .<>;map{$i=$-[0];{map{1while
    s/w((?<=W.{10})|(?<=W.)|(?=.{9}W|W))/W/s;/W((?<= .{10})|(?<= .)|(?=.{9
    +} | ))/s||$i=~/./+print("$& $'\n")+last}"$`W$'"while/w/g}}"$`x$'"whil
    +e/ /g
    
  2. or download this
    #!perl
    $_= ++$ / x11 . <>;
    ...
        } "$`W$'" while/w/g
      }
    } "$`x$'" while/ /g
    
  3. or download this
    #!perl -ln0
    map{$i=$-[0]+11;{map{1while
    s/w((?<=W.{10})|(?<=W.)|(?=.{9}W|W))/W/s;/W((?<= .{10})|(?<= .)|(?=.{9
    +} | ))/s||$i=~/./+print("$& $'")+last}"$`W$'"while/w/g}}"$`x$'"while/
    + /g
    
  4. or download this
    #!perl -ln0
    map {
    ...
        } "$`W$'" while/w/g
      }
    } "$`x$'" while/ /g
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1049483]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-28 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found