[Koha-devel] Perl 7

Julian Maurice julian.maurice at biblibre.com
Thu Jun 25 09:16:17 CEST 2020


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


More information about the Koha-devel mailing list