Dear RuZombieSlayer,

ww made four observations, and all of them were correct:

  1. You're using the wrong sigil,
  2. using an inapropriate comment marker,
  3. and providing nothing to prompt the user to enter a value.
  4. This looks like homework

He did not say it was homework; he said it looked like homework. And it does.

The fact that it is not homework is largely irrelevant.

We are here to help, but only an open mind receives new information. An angry mind prone to taking everything personally is rarely open in any useful manner.

Please consider the possibility that when you are asking for help, sometimes even your question will be part of the problem, and the only way you're going to get past it is to approach the problem with humility -- of the "maybe I could be wrong" variety.

Responses like yours demonstrate the absence of the necessary mindset.

If these words are not helpful for you, I will recede.

Wishing you the very best in all things.


In reply to Re^3: Nth position of array determind by <> by marinersk
in thread Nth position of array determind by <> by RuZombieSlayer

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.