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

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

Thread Previous | Thread Next
From:
Darren Duncan
Date:
May 28, 2022 19:18
Subject:
Re: Pre-RFC: add version numbers to errors/warnings containingpackage names
Message ID:
4a14e7b4-40ca-2f86-c35f-b41b8c8fb7f3@darrenduncan.net
I agree with this proposed change, or something similar to it. -- Darren Duncan

On 2022-05-28 4:16 a.m., Ovid wrote:
> Not sure what it would take to do this, but this kind of error crops up a few times:
> 
> Can't locate object method "some_method" via package "Some::Class"
> 
> 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"

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