Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

A string of pe(a)rls

by golux (Pilgrim)
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

Comment on A string of pe(a)rls
Download Code
Re: A string of pe(a)rls
by Grimy (Monk) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://959176]
Front-paged by Arunbear
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2014-07-25 09:25 GMT
Find Nodes?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:

    Results (170 votes), past polls