<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Segoe UI Symbol";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Yeah, I remember when we used to use them, but then removed them due them changing so much.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Ahh. That does sound pretty well thought out then. Yeah, let’s up it to 5.14, as we definitely require it for Koha/SearchEngine/Elasticsearch/QueryBuilder.pm, and no one should be running a Linux system with < 5.14 these days. Anyone running RHEL 6 should really be upgrading. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Oh, I do a Reply All that includes the author of the previous message. Personally, I filter koha-devel, so if someone replies directly to me, I see it before I check my filtered koha-devel folder. I figure other people do the same so I do the same.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>David Cook<o:p></o:p></p><p class=MsoNormal>Systems Librarian<o:p></o:p></p><p class=MsoNormal>Prosentient Systems<o:p></o:p></p><p class=MsoNormal>72/330 Wattle St<o:p></o:p></p><p class=MsoNormal>Ultimo, NSW 2007<o:p></o:p></p><p class=MsoNormal>Australia<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Office: 02 9212 0899<o:p></o:p></p><p class=MsoNormal>Online: 02 8005 0595<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Koha-devel <koha-devel-bounces@lists.koha-community.org> <b>On Behalf Of </b>Tomas Cohen Arazi<br><b>Sent:</b> Friday, 26 June 2020 10:06 AM<br><b>To:</b> koha-devel <koha-devel@lists.koha-community.org><br><b>Subject:</b> Re: [Koha-devel] Perl version requirement<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Smart matches where used a while back but marked as experimental and we removed their only uses.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>5.10 was required for defined-or, and Julian suggests we need 5.14 because of the use of /r.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>PS is it me or the reply-to on this list puts the author of the previous message? It should be the list itself.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><p class=MsoNormal>El jue., 25 de junio de 2020 20:31, <<a href="mailto:dcook@prosentient.com.au" target="_blank">dcook@prosentient.com.au</a>> escribió:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Those are good points. Personally, I’d like us to specify the Perl version minimum based on actual usage as well. I just wonder how best we determine what the minimum version should be (why 5.14?) and where we specify that.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Should we be using “use 5.14.0” in plack.psgi for instance*? Or are we just thinking about specifying the minimum in terms of the Debian packages? <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I wonder if there is a reliable list of features by Perl version without reading through every delta listed at <a href="https://perldoc.perl.org/index-history.html" target="_blank">https://perldoc.perl.org/index-history.html</a>. There is something at <a href="https://en.wikipedia.org/wiki/Perl_5_version_history" target="_blank">https://en.wikipedia.org/wiki/Perl_5_version_history</a>. <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Looking at “Non-destructive substitution (s///r)”, I see that’s only used 2 (obvious) times and it’s in Koha/SearchEngine/Elasticsearch/QueryBuilder.pm. <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>That said, that Wikipedia list doesn’t include the nuances of the smart match operator, so it doesn’t seem very comprehensive. <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I know Martin is interested in subroutine signatures but they look experimental even in 5.30.0 according to <a href="https://perldoc.perl.org/perlsub.html#Signatures" target="_blank">https://perldoc.perl.org/perlsub.html#Signatures</a>. <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thoughts?<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>*<a href="https://perldoc.perl.org/functions/use.html" target="_blank">https://perldoc.perl.org/functions/use.html</a><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>David Cook<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Systems Librarian<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Prosentient Systems<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>72/330 Wattle St<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Ultimo, NSW 2007<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Australia<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Office: 02 9212 0899<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Online: 02 8005 0595<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US>From:</span></b><span lang=EN-US> Tomas Cohen Arazi <<a href="mailto:tomascohen@gmail.com" target="_blank">tomascohen@gmail.com</a>> <br><b>Sent:</b> Friday, 26 June 2020 12:02 AM<br><b>To:</b> Kyle Hall <<a href="mailto:kyle.m.hall@gmail.com" target="_blank">kyle.m.hall@gmail.com</a>><br><b>Cc:</b> David Cook <<a href="mailto:dcook@prosentient.com.au" target="_blank">dcook@prosentient.com.au</a>>; Koha Devel <<a href="mailto:koha-devel@lists.koha-community.org" target="_blank">koha-devel@lists.koha-community.org</a>><br><b>Subject:</b> Re: [Koha-devel] Perl version requirement</span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I agree with Martin we should be requiring newer versions when we need them to (say) get better code or results.<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>And we should be consistent. Right now the minimum should be 5.14 and we are not making it clear to the users.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>External library dependencies might be another reason to shift Perl versions. So all of that is in the mix. And we try to be conservative about this, specially when we pick external libraries and QA should consider this.<o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>El jue., 25 jun. 2020 a las 10:55, Kyle Hall (<<a href="mailto:kyle.m.hall@gmail.com" target="_blank">kyle.m.hall@gmail.com</a>>) escribió:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I doubt we will need to worry about Perl 7 until it's available in Debian. It's essentially 5.32 with some better defaults ( no need to 'use strict' for example ). There will also be a migration path from Perl 5 to Perl 7 ( but not from Perl 5 to Perl 8 ). Perl 5 is expected to have about 10 years of continued support.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt'>---</span><o:p></o:p></p></div></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="http://www.kylehall.info" target="_blank">http://www.kylehall.info</a><br>ByWater Solutions ( <a href="http://bywatersolutions.com" target="_blank">http://bywatersolutions.com</a> )<br>Meadville Public Library ( <a href="http://www.meadvillelibrary.org" target="_blank">http://www.meadvillelibrary.org</a> )<br>Crawford County Federated Library System ( <a href="http://www.ccfls.org" target="_blank">http://www.ccfls.org</a> )<o:p></o:p></p></div></div></div></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Thu, Jun 25, 2020 at 12:21 AM <<a href="mailto:dcook@prosentient.com.au" target="_blank">dcook@prosentient.com.au</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Just to add more fuel to the fire, have people heard about Perl 7? It was just announced yesterday.<br><br>Unlike Perl 6 (now known as Raku), Perl 7 appears to be an actual backwards compatible successor to Perl 5: <a href="https://www.perl.com/article/announcing-perl-7/" target="_blank">https://www.perl.com/article/announcing-perl-7/</a>. If you don't want to read the link, "the bottom line" is "Perl 7 is v5.32 with different settings. Your code should work if it’s not a mess. Expect a user release within a year."<br><br>--<br><br>As for Perl 5.x versions, in the past, I've said let's stay at 5.10 because of RHEL 6, but RHEL 6 is being retired November 30, 2020 (with an "Extended Life Cycle Support Add-On" available until June 30, 2024). I really don't think we should be hamstrung by RHEL 6 anymore. RHEL 7 comes with 5.16 and RHEL 7's "Software Collections" can be used with Perl 5.20 and Perl 5.24, although I don't think that the RHEL 7 "Software Collections" can be used with the #!/usr/bin/perl shebang (which would be used in CGI and Plack's CGI emulation). That said, RHEL 8 is available now and it comes with Perl 5.26. <br><br>Maybe we should just focus on Perl versions for supported Debian/Ubuntu OSes, and if people want to use other OSes, then they just need to upgrade to a newer version that supports a newer Perl. <br><br>I think you can install Docker on RHEL 7, so that's another consideration for people running Koha on non-Debian/Ubuntu OSes. They can always just look at implementing a container-based solution, which leverages Debian/Ubuntu as the container OS. <br><br>So yeah... let's pick the lowest Perl on our supported Debian/Ubuntu and have that be the minimum supported Perl. <br><br>David Cook<br>Systems Librarian<br>Prosentient Systems<br>72/330 Wattle St<br>Ultimo, NSW 2007<br>Australia<br><br>Office: 02 9212 0899<br>Online: 02 8005 0595<br><br>-----Original Message-----<br>From: Koha-devel <<a href="mailto:koha-devel-bounces@lists.koha-community.org" target="_blank">koha-devel-bounces@lists.koha-community.org</a>> On Behalf Of Paul A<br>Sent: Thursday, 25 June 2020 9:00 AM<br>To: <a href="mailto:koha-devel@lists.koha-community.org" target="_blank">koha-devel@lists.koha-community.org</a><br>Subject: Re: [Koha-devel] Perl version requirement<br><br>On 2020-06-24 1:15 p.m., Julian Maurice wrote:<br>> Ah yes, I forgot about Xenial.<br>> <br>> Not sure if it is still supported. <br><br>Ubuntu 16.04.6 LTS (Xenial Xerus) was released February 28, 2019, has an "End of Standard Support" set at April 2021, and "End of Life" of April<br>2024 -- where some package enhancements are ensured up to the first of those dates, and *security* is ensured until the second, i.e nearly another four years from now.<br><br>I obviously cannot speak for more than the organizations with which I am involved, but basically we are all keeping c++, php and perl based code on 16.04 LTS using Apache, and have moved only python coding to 18.04. <br>However, we do use Nginx on 18.04 as a front end, proxying to the 16.04 back ends. We are beginning to look at 20.04, but first impressions of the transition are slightly painful.<br><br>As Mark mentions below, Xenial uses Perl 5.22.1-9ubuntu0.6. I understand that the "1-9ubuntu0.6" denotes some fifty patches and fixes on top of "basic 5.22" but not amounting to 5.24. Just for completeness, 18.04 uses perl 5.26, and 20.04 comes with perl 5.30.  However, from what I have heard, the perl 5 branch has very few deprecated, let alone removed, details, so backwards compatibility is on a fairly firm footing. In fact, a quick look at 5.22 and 5.26 show very much the same patches, but of course this may not apply to non-core modules.<br><br>Best -- Paul<br><br><br><br>The thing is, depending on where you<br>> look, you find different informations:<br>> <br>> In the latest release notes:<br>> <br>> - 20.05.01 says that the recommended environments are Debian stretch, <br>> Debian buster or Ubuntu bionic, and requires Perl 5.10<br>> - 19.11.07 says that the recommended environments are Debian jessie, <br>> Debian stretch, Debian buster or Ubuntu bionic and requires Perl 5.10<br>> - 19.05.12 says the the recommended environements are Debian stretch <br>> or Ubuntu bionic, and requires Perl 5.24 (it's strange that an older <br>> version of Koha require a newer version of Perl)<br>> <br>> On Jenkins, there is a "supported" tab that includes Ubuntu xenial, <br>> bionic and focal, and Debian jessie, stretch and buster.<br>> <br>> So it is not very clear.<br>> Maybe we can include that information in Koha's source (in README ?) <br>> and make it the "single source of truth" ?<br>> <br>> Le 24/06/2020 à 18:40, Mark Tompsett a écrit :<br>>> Greetings,<br>>><br>>> I apologize if this is a dumb question, but do we support Xenial <br>>> (Ubuntu 16.04) still? If so, then Julian Maurice's suggestion is a <br>>> little over. Xenial has Perl 5.22 in it. If we don't support Xenial, <br>>> then +1 for his suggestion of 5.24 as the Perl version to use.<br>>><br>>> GPML,<br>>> Mark Tompsett<br>>><br>>> _______________________________________________<br>>> Koha-devel mailing list<br>>> <a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>>> <a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>>> website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a> git : <br>>> <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a> bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>>><br>> <br><br>_______________________________________________<br>Koha-devel mailing list<br><a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br><a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a> git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a> bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br><br>_______________________________________________<br>Koha-devel mailing list<br><a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br><a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><o:p></o:p></p></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>_______________________________________________<br>Koha-devel mailing list<br><a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br><a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><o:p></o:p></p></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br clear=all><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- <o:p></o:p></p><div><div><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt'>Tomás Cohen Arazi</span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.5pt'>Theke Solutions (<a href="http://theke.io/" target="_blank">http://theke.io</a>)<br></span><span style='font-size:9.5pt;font-family:"Segoe UI Symbol",sans-serif'>✆</span><span style='font-size:9.5pt'> +54 9351 3513384<br>GPG: B2F3C15F</span><o:p></o:p></p></div></div></div></div></div></div></div></blockquote></div></div></div></body></html>