Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

(dkubb) Re: (2) (Golf) Untwist

by dkubb (Deacon)
on Aug 16, 2001 at 11:50 UTC ( [id://105295]=note: print w/replies, xml ) Need Help??


in reply to (Golf) Untwist

Using ideas previously mentioned, and throwing in a few of my own, this can be brought down to 98 characters:

sub decipher { @l=(_,a..z,'.');@n{@l}=0..27;@c=@n{split//,pop};$"=my$i;$p[$_[0]*$i++% +@c]=$l[($_+$i)%28]for@c;"@p" }

Replies are listed 'Best First'.
Re: (dkubb) Re: (2) (Golf) Untwist
by dragonchild (Archbishop) on Aug 16, 2001 at 17:28 UTC
    Using ideas from my and abstracts mini-thread, we get to 90.
    @n{@l=(_,a..z,'.')}=0..27;$"=my$i;$p[$_[0]*$i++%@c]=$l[($_+$i)%28]for@ +c=@n{pop=~/./g};"@p"

    ------
    /me wants to be the brightest bulb in the chandelier!

    Vote paco for President!

      ++dragonchild. Job well done. I'll see if I can take another stab at this one later :-)

      Aziz,,,

Re: (dkubb) Re: (2) (Golf) Untwist
by larryk (Friar) on Aug 16, 2001 at 14:24 UTC
    you're now at 93
    @n{@l=(_,a..z,'.')}=0..27;@c=@n{pop=~/./g};$"=my$i;$p[$_[0]*$i++%@c]=$ +l[($_+$i)%28]for@c;"@p"
       larryk                                          
    perl -le "s,,reverse killer,e,y,rifle,lycra,,print"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found