Perl folks, I am looking for a calendar library that will enable me to create an appointment date, and have it recurrence pattern 1 month to the day for 'no end date'. Just like an Appointment Recurrence in Outlook or Thunderbird w/ calendar. I want to have a simple pattern in a text file and loop through it to create a detailed report. I suspect I could just add 30 days to a point in time; however, I suspect that would not be the best way since I will need to deal with shorter months or other time deviation. I am open to suggestions very crude example

---source.txt--- date length 2018-01-02 30 2018-01-07 30 2018-01-20 30 ---output_for_2018-01-02.txt--- 2018-01-02 2018-02-02 ~

Thank you


In reply to Calendar library - appointment recurrance by jasonwolf

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.