in reply to Re^8: cURL And XML breaking the install of a previosuly fine script
in thread cURL And XML breaking the install of a previosuly fine script

You can start diagnosing which module exactly is broken by testing each module in that chain in turn:

perl -v perl -MXML::RSS -e1 perl -v perl -MDateTime::Format::Mail -e1 ... perl -v perl -MSpecio::Declare -e1 perl -v perl -MRole::Tiny -e1

Then, reinstall the module that is broken at the bottom of the dependency chain.

If you are doing this in the system Perl, I would reinstall the system Perl from the package manager and only install modules into it using your vendors package manager and the packages provided by your OS vendor. The system Perl belongs to your OS vendor.

  • Comment on Re^9: cURL And XML breaking the install of a previosuly fine script
  • Download Code

Replies are listed 'Best First'.
Re^10: cURL And XML breaking the install of a previosuly fine script
by wintermute115 (Acolyte) on Apr 21, 2017 at 11:45 UTC

    I went through those, and didn't see anything interesting. Perl-v reported 5.24.1 each time; perl-M had no output each time.

    So I set up a script that used used each of those modules in turn, printing its name beforehand, so I could see where it was having a problem. And it ran fine.

    So I created a script that just had the use statements from the broken script, and it failed. So I removed a line at a time to see which one was causing XML::RSS to break.

    It was Try. Moving that to be used after XML::RSS seems to have made it work. Thanks for the help :)

    I have no idea why that might have broken it, and I'll spend some more time digging into it, but for now... it seems to be working.