Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 231534d747581d9bd50dab8aa56ca78f8433785f
      
https://github.com/Perl/perl5/commit/231534d747581d9bd50dab8aa56ca78f8433785f
  Author: rwp0 <rwp.prim...@gmail.com>
  Date:   2023-12-30 (Sat, 30 Dec 2023)

  Changed paths:
    M lib/diagnostics.pm

  Log Message:
  -----------
  [POD] `diagnostics.pm`: Remove indirect syntax

Convert the below indirect syntax in documentation:

```
enable diagnostics;
disable diagnostics;
```

Since `enable` and `disable` are only methods

It's confusing to see barewords in the documentation.

As a user I thought `diagnostics` should actually be a string argument
to exported-by-default separate `enable` and `disable` subroutines.


Reply via email to