I don't how well this will wrap but, here's an expansion, with odd quoting constructs removed and regexes expanded. Over all, I'd say this was a bit too easy to unravel, you haven't really abused any features

$_='&u&J&t&s'; @_=split(/\&/); # @_ = qw(\nu J t s); $_=join('',@_); # $_ = '\nuJts'; s/ # regular expression on $_ \s* # 0 or more whitespace, matches \n (.) # character, into $1 (.) # character, into $2 / $2$1 # switch the characters /gx; # $_ = 'Just' $_.=' %a%n%o%t%h%e%r'; # $_ = 'Just %a%n%o%t%h%e%r' s/\%//gx; # get rid of those %, $_ = 'Just another'; $_.='|e|P| | |l|r'; # $_ = 'Just another|e|P| | |l|r' s/ # regex on $_ \|(.) # | then char => $1 \|(.) # | then char => $2 \|(.) # | then char => $3 / $3$2$1 # put the three chars back, in reverse /gx; # $_ = 'Just another Perl ' $_.='CHARKE.', "\n"; # $_ = 'Just another Perl CHARKE.\n' s/ ([A-Z])([A-Z])([A-Z])# Three capital letters in a row, into $1,$2,$3 / # replaced with \L$2$3$1\E # their lower case equivilients, # in a different order /gx; s/\n//g; # remove any \n $_.=$/; # add a newline to $_ print; # print "Just another Perl hacker.\n"

In reply to Re: JAPH attempt number 2 by Anonymous Monk
in thread JAPH attempt number 2 by jgallagher

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.