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:
Ovid
Date:
June 1, 2022 09:15
Subject:
Re: Pre-RFC: add version numbers to errors/warnings containingpackage names
Message ID:
CA+M4CHvgrPjchxE4bZL8TYO1L4fb6qYYFRY4jzh_VVNsVJmG7w@mail.gmail.com
Thanks, Darren.

Anyone else have an opinion on this?

Best,
Ovid

On Sat, May 28, 2022 at 9:18 PM Darren Duncan <darren@darrenduncan.net>
wrote:

> 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"
>


-- 
Curtis "Ovid" Poe
--
CTO, All Around the World
World-class software development and consulting
https://allaroundtheworld.fr/

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