Skip to content

Instantly share code, notes, and snippets.

@arodland
Created September 9, 2009 02:23
Show Gist options
  • Select an option

  • Save arodland/183411 to your computer and use it in GitHub Desktop.

Select an option

Save arodland/183411 to your computer and use it in GitHub Desktop.
$_=uc<>;y,. ,|/,;s/./$& /g;@m{A..Z,0..9,qw(| , ?)}=".-D.NNN..]IN-NII..W-N-R.---.M-ANMAA.I.-].AIAA-NANMMIOMAOUMSMSASIB.MSOIONRKGWUD"=~/../g;1while s![]\w|,?]!$m{$&}!;print
#!perl -lp
($a,@b)=unpack"b32C*","\264\202\317\0\31SF1\2I.T\33N/G\27\308XE0=\x002V7HMRfermlkjihgx\207\205";$a=~y/01/-./;@m{A..Z,0..9,qw(. , ?)}=map{substr$a,$_%23,1+$_/23}@b;$_=join' ',map$m{uc$_}||"/",/./g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment