I had actually forgotten that $s ends up with 10 at the end. Having briefly played with getting it to print I must have just forgotten that I'd left it there. This is of course evidence of similar laziness to that which left me without the comma. Your calculation of the value to append a comma is much appreciated and shall be included. In the end, I suppose matching the classic "Just another Perl hacker," is more satisfying than getting the newline to print. ++, naturally.

On the subject of satisfaction, I'm caught between being happy and unsatisfied with this. Part of me knows that I'm just a young'un (read: college student) who'll learn more later and write bigger (okay, not much bigger) and better JAPHs (and, you know, actual code), but part of me is quite unsatisfied with the mundanity of this. It seems very simple to my mind to just slap some ASCII values together and print them with chr. (I hadn't wanted to write this in the original node since it seemed as though it would be too much in the vein of "here's something that I feel is inadequate, please let me make excuses about it." Instead it just encouraged me to obfuscate it more before posting.)

Too bad that even avoiding copy and paste, one doesn't get any better at JAPHs or obfuscation by typing out classic code, like students of music or painting copying and recopying great works of art by hand. I guess I'll keep on studying the examples of other, better monks, and actually try to understand them.


In reply to Re^2: First JAPH by LassiLantar
in thread First JAPH by LassiLantar

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.