[Koha-devel] Perl 7

Renvoize, Martin martin.renvoize at ptfs-europe.com
Thu Jun 25 10:17:31 CEST 2020


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*

<https://www.ptfs-europe.com>

Development Team Manager

Community Release Manager (19.11, 20.05)


*Phone:* +44 (0) 1483 378728

*Mobile:* +44 (0) 7725 985 636

*Email:* martin.renvoize at 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 at ptfs-europe.com




On Thu, 25 Jun 2020 at 08:16, Julian Maurice <julian.maurice at biblibre.com>
wrote:

> Le 25/06/2020 à 06:26, dcook at 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::ProhibitIndirectSyntax
> to our default .perlcriticrc
>
> --
> Julian Maurice
> BibLibre
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200625/82e90acb/attachment-0001.htm>


More information about the Koha-devel mailing list