Alexander, THANK YOU for the pointer to the //= info, and also explaining it.

I very much appreciate your explaining the one line of code, and breaking it out to 7 lines where I can see what's happening more fully. I'll step through it with a debugger so I can make sure I understand how this is working. (references, mostly, but it's used recursively elsewhere, and because the original code is compact and seems to work magically.)

Your 1-line condensation (without spaces!) didn't go unnoticed. LOL

And you had an OUTSTANDING sig there on the end of your post. (I'm gonna borrow that, if you don't mind.)

Right up there with the coffee mug my wife gave me that says, "Of course I talk to myself. Where else am I going to get expert advice?" (I think she's riffing on my talking to myself, because she sure doesn't take any of my advice.)

Again, THANK YOU, Alexander!

In reply to Re^6: Building a dynamic array or some other method? by CAdood
in thread Building a dynamic array or some other method? by CAdood

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.