[Koha-devel] Perl 5.18

Mark Tompsett mtompset at hotmail.com
Mon Apr 28 18:35:49 CEST 2014


Greetings,

> I suggest that we add a new coding guideline

+1 to coding guideline.

> to this effect:
>
>=== PERL19: The use of the Perl smartmatch operator is forbidden ===
>
>The Perl smartmatch operator, including ~~ and given/when, has been
>[http://perldoc.perl.org/5.18.0/perldelta.html#The-smartmatch-family-of-features-are-now-experimental
>marked experimental] as of Perl 5.18.0.   Since the meaning of the
>smartmatch operator is subject to change, and since using it will by
>default add warnings to the error log, new code should not use it.

+1 to this sample phrasing.

GPML,
Mark Tompsett 



More information about the Koha-devel mailing list