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

Re: Pre-RFC: Improve “wide character” warnings

Thread Previous | Thread Next
From:
Scott Baker
Date:
June 7, 2022 16:06
Subject:
Re: Pre-RFC: Improve “wide character” warnings
Message ID:
9dfea102-d00a-6663-ce3e-2d92335ab9ce@perturb.org
This is on my list of things to circle back to. I would *LOVE* it if the 
warnings and errors spit our a searchable code to offer more explanation.

It would just require writing up some docs and finding a standard 
"naming scheme" on what to call the codes.

- Scott

On 6/7/2022 8:47 AM, Eric Brine wrote:
>
>
> On Tue, Jan 25, 2022 at 5:04 PM Felipe Gasper 
> <felipe@felipegasper.com> wrote:
>
>     PART 2:
>
>     While I’m raising the issue, what would it take for Perl-issued
>     warnings (and exceptions?) writ-large to include some sort of
>     searchable, indexed lookup code, something like:
>
>     -----
>     W.18: Wide character in print (you forgot to encode) at -e line 1.
>     -----
>
>     Then users could search on that code in Perl’s documentation,
>     maybe like:
>
>     -----
>     perldoc W.18
>     -----
>
>     Thoughts?
>
>     -FG
>
>
> Note that you can get the docs by running the program with -Mdiagnostics
>
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