yes the file is being created , but for whatever reason printf isnt putting anything into it.

i am just changing the code to show the date as a day with that method from Date::Day, the original source just prints the day and date in numbers. And that works just fine.

I dont have a test system, no.. its a relatively complex set of applications of which the perl script is just one component.

The perl script doesnt have use warnings; and  use strict; The code is all a little hacky tbh, its something i wrote years ago. I guess i should sit and down and sort it all out once and far all.. but the systems i use here rely on it running 24/7.

But i will take your advice and try and think of creating some kind of test environment. thanks.

conal.

In reply to Re^6: Date::Day issues by Conal
in thread Date::Day issues by Conal

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.