It may be easier than it looks...
$n=q y$$YVAR;;y;$q=$n=~y%$N-ZA-M;%_A-Z_%;;print map{eval join$/,(map{ ";#"}(2..$_)),qq@\$p=$n@;chr$p+$q}qw&66 109 107 108 24 89 102 103 108 96 93 106 24 72 93 106 100 24 96 89 91 99 93 106 38 2&
..and then again it may not. But at least I had fun playing with it.
Update:
Here is the same golfed down to only one map:
$n=q y$$YVAR;;y;$q=$n=~y%$N-ZA-M;%_A-Z_%;print map{eval";#$/"x($_-1). qq@\$p=chr($n+$q)@}qw&66 109 107 108 24 89 102 103 108 96 93 106 24 72 93 106 100 24 96 89 91 99 93 106 38 2&
And now using unpack
$_="06610910710802408910210310809609310602407209310610002409608909109 9093106038002";$n=q y$$YVAR;;y;$q=$n=~y%$N-ZA-M;%_A-Z_%;s%\s%%g;print map{eval";#$/"x($_-1).qq@\$p=chr($n+$q)@}unpack q%a3%x26,$_
...updates posted just to show 'another way to do it'.
Dave
|
|---|