Ah. Often I only realise what's really going on in my life by acting on the assumption that it's actually something different. Don't try this at home, kids, as it may end up with you living in the wrong country, with the wrong number of internal organs, married to a person of the wrong sex. THEN you'll know. Lucky for me, the present instance was not so earth-shattering. But I found out it wasn't to do with passing functions into hashes. They calculate fine in hashes, and my preferred method set out above DOES actually work. So - sorry to waste your time; but thanks for providing a sounding board which obliged me to formulate my problem, and then challenged me to determine whether it was a problem or not. One day I'll be able to do this for myself...

§ George Sherston

In reply to Resolved - Sorry to Trouble You by George_Sherston
in thread Passing functions etc into hashes by George_Sherston

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.