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

A string of pe(a)rls

by golux (Friar)
on Mar 12, 2012 at 20:36 UTC ( #959176=obfuscated: print w/replies, xml ) Need Help??

use strict; use warnings; use feature 'say'; ( ) ,say map{ ( ) ,s <..> () ,$ _=lc crypt$_,$&; () ,s [[fy34].+] () ,s [[bg]|(?<=r$)] ( ) ,and $_} ( ) ,@ .= qw = JuzXb NO9(V PeKVj ACUcu =
say substr+lc crypt(qw $i3 SI$),4,5

Replies are listed 'Best First'.
Re: A string of pe(a)rls
by Grimy (Pilgrim) on May 19, 2012 at 07:33 UTC
    Really nice one. One detail bothers me, though : map{ (...) and $_} is (in my opinion) better written as grep{ (...) }. Then, a simple ,$ |--||s[.][uc$&]e would put uppercase letters in just the right places.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://959176]
Front-paged by Arunbear
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2016-12-06 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.