As ELISHEVA said, welcome to the monastery.

It's probably worth pointing out how this site works. Everyone here is a volunteer. We're taking time out of our busy day to come here and offer help to people. We're not getting paid for the work we do here and we don't have to help anyone if we don't want to.

Bearing that in mind, you're far more likely to get help if you make it as easy as possible for us to help you. The harder you make it for us to help, the less likely it is that we'll bother.

Before you posted your node, you had to preview it. And underneath the preview was this text:

If something looked unlike you expected it to you might need to check out Writeup Formatting Tips

I assume that you read this message, but that you thought that your post looked fine. I can't understand that as your code is an unreadable mess. Had you bothered to click on the Writeup Formatting Tips, you would have learned that putting <code> tags around your source code would have formatted it more readably.

The fact that you didn't bother to do that will almost certainly mean that many of the most knowledgeable helpers on this site won't bother trying to understand your code and won't offer you any help.

We get a lot of people whose first post is messed up like yours. If you have any suggestions on how we can make the formatting process easier to follow, then we'd love to hear them.

--

See the Copyright notice on my home node.

Perl training courses


In reply to Re: perl - loop by davorg
in thread perl - loop by annymous

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.