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

Re: Pre-RFC: “helpcodes” feature

Thread Previous | Thread Next
From:
Branislav Zahradník
Date:
June 7, 2022 20:41
Subject:
Re: Pre-RFC: “helpcodes” feature
Message ID:
CAB=rbOks411QtkoAqm_68V+_ivrMRQMqkdT7LDk4MfvZzRYXyA@mail.gmail.com
> The idea is simple: apply the familiar pattern of POSIX error names
> (ENOENT, EPERM, etc.) to Perl. These will be easily searchable in search
> engines, and we can list them in something like perlhelpcodes.pod.
>
> Thoughts?
>

- referring earlier thread in this list with subject "RFC - core exception
catalogue"
- it should contain world PERL (or similar), see for example typescript
errors
- it should be addressable in code (somehow) - best will be exception class
but control variable ${ ^PERL_ERROR_XXX } will be imho acceptable as well

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