Note too that this would have been better as an update to your original question to keep the question and answers cohesive. Are you going to post the code you have been asked for here, or in the original thread?

If someone else with the same problem happens on your thread, but can't find the answer because the answer is in the other thread how does that help you return the consideration others have shown in answering you. In fact splitting your question in this fashion may make it less likely that you will get an answer - savy monks will notice the effect of diluting their effort and will turn their attentions to more worthy seekers.

Ah rats, strike that. I re-read your original node after coffee, and this node has nothing whatsoever to do with the array sorting question. In fact a different name would help a great deal - you may find it spontaniously changes in the next few hours even.

As others have suggested, you really need to post the lines of code exhibiting the error. A very good thing to do is reduce the code to a small number of lines showing the issue and post that. See I know what I mean. Why don't you? for some ideas on how to do that.

Although actually we have a pretty good track record at reading minds, sometimes we simply fail and have to be helped out with some actual information. This seems to be one of those times.


DWIM is Perl's answer to Gödel

In reply to Re: How to fix error: Modification of a read-only value by GrandFather
in thread How to fix error: Modification of a read-only value by Gnat53

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.