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

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

Thread Previous | Thread Next
From:
Eric Brine
Date:
June 7, 2022 15:47
Subject:
Re: Pre-RFC: Improve “wide character” warnings
Message ID:
CALJW-qEQ+=WkXv8HdYvCxN7U0q6Q9HnKeir-2ziqN0Ygyts9sg@mail.gmail.com
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