<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>A new request with request id 17482 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 187, Issue 13<br>Category : <br>Description : <div>Send Koha-devel mailing list submissions to<br>    koha-devel@lists.koha-community.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>or, via email, send a message with subject or body 'help' to<br>    koha-devel-request@lists.koha-community.org<br><br>You can reach the person managing the list at<br>    koha-devel-owner@lists.koha-community.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Koha-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Re: Perl syntax for strings (Fridolin SOMERS)<br>   2. Time to translate: string freeze to prepare Koha 20.05.13 has<br>      begun (Victor Grousset/tuxayo)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 16 Jun 2021 17:17:52 +0200<br>From: Fridolin SOMERS <fridolin.somers@biblibre.com><br>To: koha-devel@lists.koha-community.org<br>Subject: Re: [Koha-devel] Perl syntax for strings<br>Message-ID: <cdbbb37f-4042-1e62-b79f-5351931f70cf@biblibre.com><br>Content-Type: text/plain; charset=utf-8; format=flowed<br><br>OK so proposing to remove this space makes sens, great ;)<br><br>Also looks like Perl::Tidy does not remove the space.<br><br>Le 15/06/2021 à 11:00, Thomas Klausner a écrit :<br>> Hi!<br>> <br>> On Tue, Jun 15, 2021 at 10:19:12AM +0200, Fridolin SOMERS wrote:<br>>   <br>>> I see in Perl code some cases where a string in written with a space between<br>>> q or qq or qw and string.<br>>> Like : qq /foo bar/ instead of qq/foo bar/<br>> <br>> While this works, it is strongly recommended to not use this "feature".<br>> It's main "use" is to use ANY string as quote-like operator:<br>> <br>> perl -E 'say qq A({/";A'<br>> ({/";<br>> <br>> But of course this is horrible and should not be used (outside of<br>> obfuscations..)<br>> <br>>> Most of cases are in :<br>>>    use CGI qw ( -utf8 );<br>> <br>> This isn't even using the "feature" to allow any string..<br>> <br>>> There are only 29 other cases :<br>>>    git grep -E ' q[qw]? [/({]' | grep -v 'use CGI qw '<br>> <br>> Of course this regex would fail to find why the space after q/qq/qw is<br>> allowed, because using the space you can use ANY char for the quote-like<br>> op. But I'm quite sure that nobody is crazy enough to put that into<br>> production code. And coming up with a regex that matches this would be<br>> quite hard... Though maybe there is a Perl::Critic rule for it?<br>> <br>>> Should we add a coding guideline ?<br>>> https://wiki.koha-community.org/wiki/Coding_Guidelines<br>> <br>> ++<br>> <br>> Greetings,<br>> domm<br>> <br><br>-- <br>Fridolin SOMERS <fridolin.somers@biblibre.com><br>Software and system maintainer 🦄<br>BibLibre, France<br><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 17 Jun 2021 00:14:11 +0200<br>From: Victor Grousset/tuxayo <victor@tuxayo.net><br>To: koha-translate@lists.koha-community.org, koha-devel<br>    <koha-devel@lists.koha-community.org>, Koha <Koha@lists.katipo.co.nz><br>Subject: [Koha-devel] Time to translate: string freeze to prepare Koha<br>    20.05.13 has begun<br>Message-ID: <d06c1393-8e79-54c7-3eb5-212018937d0f@tuxayo.net><br>Content-Type: text/plain; charset=utf-8; format=flowed<br><br>Hi, saluton, hola, bonjour,<br><br>String freeze is into effect as of now for the 20.05.x maintenance branch.<br>The minor release is scheduled for around the 22th.<br><br>This means it's the right time to head over to the translation platform:<br>https://translate.koha-community.org/projects/<br><br>Reminder: if you add or change a translation in version 20.05,<br>then you must also copy it to 20.11 and 21.05.<br>Otherwise your work will be lost for future versions. (We've had a <br>recent significant case of that!)<br><br><br>Happy translating,<br><br>-- <br>Victor Grousset/tuxayo<br><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Koha-devel mailing list<br>Koha-devel@lists.koha-community.org<br>https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>website : https://www.koha-community.org/<br>git : https://git.koha-community.org/<br>bugs : https://bugs.koha-community.org/<br><br><br>------------------------------<br><br>End of Koha-devel Digest, Vol 187, Issue 13<br>*******************************************<br></div><br><br>NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.<br></body></html>