Totally agreed! We should work toward Perl 7 compliance as soon as possible, which I presume is the point when it is available in Debian. --- http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) On Thu, Jun 25, 2020 at 4:18 AM Renvoize, Martin < martin.renvoize@ptfs-europe.com> wrote:
I was also reading about Perl 7 last night and the idea of trying to move our codebase towards it excites me.. it would be great if this was the prompt to help concentrate our efforts on modernising our codebase.
Wasn't aware of bug 21395, I'll take a look asap.
I like the idea of adding ProhibitIndirectSyntax to our perlcritic.. I'd back that.
*Martin Renvoize*
Development Team Manager
Community Release Manager (19.11, 20.05)
*Phone:* +44 (0) 1483 378728
*Mobile:* +44 (0) 7725 985 636
*Email:* martin.renvoize@ptfs-europe.com
*Fax:* +44 (0) 800 756 6384
www.ptfs-europe.com
Registered in the United Kingdom No. 06416372 VAT Reg No. 925 7211 30
The information contained in this email message may be privileged, confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you think that you have received this email message in error, please email the sender at info@ptfs-europe.com
On Thu, 25 Jun 2020 at 08:16, Julian Maurice <julian.maurice@biblibre.com> wrote:
Le 25/06/2020 à 06:26, dcook@prosentient.com.au a écrit :
The article is worth a read though. It points out a number of language aspects that have changed (e.g. bareword file handles, indirect object notation, etc), and we could actually work on eliminating those in our current code to bring Koha more in line with modern Perl.
Just a reminder that this bug exists : https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21395 (Make perlcritic happy) and that it replaces most (but not all) of the bareword filehandle. We can also add
https://metacpan.org/pod/Perl::Critic::Policy::Objects::ProhibitIndirectSynt... to our default .perlcriticrc
-- Julian Maurice BibLibre _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/