develooper Front page | perl.perl5.porters | Postings from June 2022

Re: Pre-RFC: add version numbers to errors/warnings containingpackage names

Thread Previous | Thread Next
From:
Arne Johannessen
Date:
June 1, 2022 10:05
Subject:
Re: Pre-RFC: add version numbers to errors/warnings containingpackage names
Message ID:
389740DD-60AE-46E5-9C9C-C6E366D6C0B4@thaw.de
Ovid wrote:
> 
> In my case, it turns out that some CPAN testers were using versions of a Type::Tiny released eight years ago.
> 
> It would be nice if the error looked like this:
> 
> Can't locate object method "some_method" via package "Some::Class, version 1.01"


I've experienced compatibility issues between sub-dependecies on CPAN Testers that weren't easy to fix because the installed versions of these sub-deps weren't reported anywhere. But IIRC this particular error message was not involved that time.

It might be useful to consider addressing this issue in the CPAN Testers toolchain rather than Perl itself.

For example, I imagine that expanding CPAN Testers reports to always include a full report of the versions of *all* modules in %INC would make it much easier to track down these kinds of issues. I believe this would be particularly helpful if somebody managed to get the "reports analysis" feature working again.


-- 
Arne Johannessen
<https://arne.johannessen.de/>




Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About