in reply to Perl 28 broke L: How to fix?
It's interesting that it doesn't exhibit failing tests on newer versions of Perl. I can confirm that it doesn't behave correctly on 5.30, if correct is to work both for OO modules AND for function modules. Here's the tester's matrix, showing that it is still passing: http://matrix.cpantesters.org/?dist=L+v1.0.1. So clearly the tests are inadequate. You might submit a patch that includes a test. If you feel up to fixing the problem itself, include that in the patch too. Otherwise, just the test so that the author can incorporate it, and have something to work with in fixing it. The module was most recently uploaded in December 2018, so it's possible the author is still open to maintaining it.
Fortunately it's really just saving a few keystrokes; one-liners will survive without it. Also worth noting, perhaps: Object/Class-method calls do work. It's functions (non-methods) that trip up the error.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl 28 broke L: How to fix?
by Anonymous Monk on Oct 28, 2019 at 04:54 UTC | |
by Athanasius (Archbishop) on Oct 28, 2019 at 07:14 UTC |