> On Jun 7, 2022, at 13:38, Dan Book <grinnz@gmail.com> wrote: > > On Tue, Jun 7, 2022 at 12:56 PM Felipe Gasper <felipe@felipegasper.com> wrote: > > 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? > > I think it's useful but unfortunately it cannot be protected by a feature flag, since the error messages will by their nature escape that scope and cause breakage. It seems unlikely that a CPAN/DarkPAN module would enable helpcodes for the same reason as pertains with signatures: the “new hotness” restricts the module’s compatibility without providing much advantage for the module author/maintainer. I would think helpcodes mostly useful in “end applications”, where the author can control whether the feature is used or not. -FGThread Previous | Thread Next