ObCanonical-JAPH-version:
$_="+2\"0->6+w-43-28-Q-20-5+K+g+1+f-1/-13-8+7+L-13-48-13+12-1-A-1-43";
s/[">\/A-wild;]/ord$&/eg;while( /[-+]\d+/g ){ @a or @a=($&) and next;
unshift @a, map {($_+$&)/2 => ($_-$&)/2} pop @a; } print map chr, @a;
Create your own messages:
my @a = map ord, split //, "<your message here>";
my @b;
while(@a){
$#a or unshift @b, @a and last;
my $c = shift @a; # ($_+$&)/2;
my $d = shift @a; # ($_-$&)/2;
unshift @b, $c - $d; # $&
push @a, $c + $d; # $_
}
unshift @b, undef;
$_ = join "+",@b;
s/\+-/-/g;
s/[3-9][0-9]/($&>=32&&$&!=43&&$&!=45&&$&<48||$&>=58?chr $&:$&)/eg;
s/1[0-2][0-9]/($&<127?chr $&:$&)/eg;
print "$_\n";
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.