The sad thing (for me) is I went through almost every part of the code and I understand about 90% of what's going on at every interval point (set by me). Yet, I can't seem to have an idea of what username is required by the program.

The point is that as I showed you with a randomly picked snippet, translation in more compact, more directly understandable Perl is easy albeit annoying and time consuming. I suppose most of us are plainly not interested in doing so for the whole program although I suggest you do. Perhaps some degree of automated "simplifying" could be possible, but however simple the code is, I would expect that writing a program doing that would take more time and more efforts than proceeding manually. Thus I recommend you to take a step by step approach simplifying the original program gradually into "saner" Perl, making sure at each step that the program is still syntactically correct and for what is possible that it also runs just fine. When you're stuck at a point where you can't go on anymore, then you may have a more interesting Perl question and people may be more willing to help you.


In reply to Re^5: Output of mindfcuk by blazar
in thread Output of mindfcuk by Anonymous Monk

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.