in reply to recursive dependencies in 5.8.8 vs 5.10 and CPAN

Infinite recursion is always a bug regardless of perl version
  • Comment on Re: recursive dependencies in 5.8.8 vs 5.10 and CPAN

Replies are listed 'Best First'.
Re^2: recursive dependencies in 5.8.8 vs 5.10 and CPAN
by morgon (Priest) on Jul 03, 2009 at 20:34 UTC
    What a great insight :-)

    The problem for me is:

    - there are evidently CPAN-modules out there with such errors
    - 5.10 handles this situation differently from 5.8.8.

    So the risk is (as I discovered today) that you can have a code-base depending on CPAN-modules that does not work anymore when you upgrade to 5.10.

    My question was wether there is any way to mitigate this risk...

      Mitigating the risk of there being a bug in module you will one day need?

      On the plus side, this particular bug should be easy to fix when encountered.

        Actually I meant is there some systematic testing of CPAN-modules against the various Perl-versions that would allow you to look up a module somewhere and learn e.g. it works with 5.8.8 but not with 5.10.

        With "working" I mean passing the modules's test-suite or for modules that don't come with a test-suite passing a simple "use_ok" test-case.