When you mentioned it, I thought that strptime was exactly what I was looking for, but it's not actually part of the core POSIX module. It's just an extension.

XML::FeedPP doesn't allow the text representation of the time zone, so it wouldn't solve this particular problem. It would save me a lot of effort if I had started with something like this, but I'm doing this more to learn how to program around an RSS/podcast feed than to actually get the job done.

My main goal when I asked this question was to avoid introducing additional dependencies on the program rather than just to avoid DateTime. So, I'm not really looking for another module to do the job. I think that the answer is that Perl doesn't have this feature.

Thank you.

--
-- Ghodmode
Blessed is he who has found his work; let him ask no other blessedness.
-- Thomas Carlyle

In reply to Re^2: RFC 822 date manipulation without DateTime module? by GhodMode
in thread RFC 822 date manipulation without DateTime module? by GhodMode

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.