in reply to ACA JAPH
Without understanding what your code does, I whittled 100 strokes off its length by performing some routine golfic shortenings:
Fits in a 4-line sig now. :-)@z=(sub{$c=pop;$x{$"}=$C{$"}=$";$x{$_}or$x{$C{$k}=$_}=$k=chr ord(A)+($a+++$c)%26for pop=~/./g,a..z},sub{$h=pop;$r.=$$h{$_}for pop=~/./g;$r});$z[0]->(thequickbrownfoxjumpsoverthelazydogs,10); print$z[1]->('ZOCK FWUKLMT BMTE LFQR',\%C).$/
Update: whittled a further 10 strokes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ACA JAPH
by goibhniu (Hermit) on Aug 18, 2007 at 15:46 UTC | |
by chargrill (Parson) on Aug 18, 2007 at 17:42 UTC | |
by eyepopslikeamosquito (Archbishop) on Aug 18, 2007 at 23:09 UTC |