(This is a continuation of this thread) I have a script I've been using to pull down podcasts for several years, and I've just gotten a new computer and I'm having difficulty getting it to work again. I went from Ubuntu 14.04 with perl 5.18 to Ubuntu 17.04 with perl 5.24. I think the only problem I have remaining is that XML::RSS doesn't seem to want to run. cpan says it's installed and up to date, but when the script runs, it outputs:
$ ./scripts/podcasts/podcasts.pl Use of uninitialized value in subroutine entry at /usr/local/share/per +l/5.24.1/Role/Tiny.pm line 461. Can't call method "_attrs" on an undefined value at /usr/local/share/p +erl/5.24.1/Specio/OO.pm line 168. Compilation failed in require at /usr/local/share/perl/5.24.1/Specio/D +eclare.pm line 11. BEGIN failed--compilation aborted at /usr/local/share/perl/5.24.1/Spec +io/Declare.pm line 11. Compilation failed in require at /usr/local/lib/x86_64-linux-gnu/perl/ +5.24.1/DateTime/Types.pm line 12. BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/p +erl/5.24.1/DateTime/Types.pm line 12. Compilation failed in require at /usr/local/lib/x86_64-linux-gnu/perl/ +5.24.1/DateTime/Duration.pm line 12. BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/p +erl/5.24.1/DateTime/Duration.pm line 12. Compilation failed in require at /usr/local/lib/x86_64-linux-gnu/perl/ +5.24.1/DateTime.pm line 14. BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/p +erl/5.24.1/DateTime.pm line 14. Compilation failed in require at /usr/local/share/perl/5.24.1/DateTime +/Format/Mail.pm line 7. BEGIN failed--compilation aborted at /usr/local/share/perl/5.24.1/Date +Time/Format/Mail.pm line 7. Compilation failed in require at /usr/local/share/perl/5.24.1/XML/RSS/ +Private/Output/Base.pm line 9. BEGIN failed--compilation aborted at /usr/local/share/perl/5.24.1/XML/ +RSS/Private/Output/Base.pm line 9. Compilation failed in require at /usr/local/share/perl/5.24.1/XML/RSS. +pm line 9. BEGIN failed--compilation aborted at /usr/local/share/perl/5.24.1/XML/ +RSS.pm line 9. Compilation failed in require at ./scripts/podcasts/podcasts.pl line 1 +8. BEGIN failed--compilation aborted at ./scripts/podcasts/podcasts.pl li +ne 18.

Line 18, referenced there at the end is:

use XML::RSS;

I've searched online and not found anything that looks like this, and I don't know where to go from here. Does anyone have any ideas?

I've tried using XML::FEED::PARSER::LITE, but it doesn't seem to do what I need, but in principle I have no objections to using another module if you can recommend one


In reply to Can't get XML::RSS working on a new computer by wintermute115
in thread cURL And XML breaking the install of a previosuly fine script by wintermute115

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.