Have you even read Writeup Formatting Tips yet?

<p> tags start paragraphs, and </p> tags end them.

There's almost never a need for <br />

Wrap your code in <code> and </code>, or <c> and </c> tags. That goes for your input and output examples as well.

Read How do I compose an effective node title?.

Post a snippet of code that you have actually started to write for the purpose of solving this specific problem. It appears to me that the code you posted is to solve a different task.

Ask a specific question. Your existing posts are asking for someone to write a solution for you. There are people who will do that for you for a fee. But we help people to learn to program using Perl for free. So you must put out some effort showing that you are actually here to learn Perl, not just here to get us to write a script for you.


Dave


In reply to Re^3: Brute Force Attacks by davido
in thread Brute Force Attacks by AbCraig

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.