Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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?

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 drinking their drinks and smoking their pipes about the Monastery: (16)
As of 2016-10-24 15:13 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (308 votes). Check out past polls.