Thanks for everything guys.
"$! is defined to contain only a meaningful value... Since your code succeeds, the value of $! is meaningless."

Thanks so much. I had thought functions would only set $! if there were some level of error. I suppose a function may do what it pleases... This flaw in my logic was causing me to create false failures when checking eval(functions). You have forever improved my style by exposing otherwise rampant ignorance, thanks.

"Kudos on the amusing node title. And your coding style did not cause me to pull a face."

lol. Thanks.

As for your face, I take that as a significant compliment. I am new to programming, and my own code pulls my face occasionally. Always learning, always improving. This seems to be paying off gradually.

"That said, I made some minor "improvements" based on my personal taste... Note the minor differences and make up your own mind. In particular, note the use of sprintf so that the dates and times are formatted more uniformly and thus sort correctly."

I really dig the changes. I pretty much did a rewrite, throwing it into my Utilities.pm, I did use most of your changes in it. Thank you very much for the feedback. Uniform date/time formatting: how novel.


In reply to Re^2: Lammentful logs fouled by failing filehandling by shain
in thread Lammentful logs fouled by failing filehandling by Anonymous Monk

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.