[Koha-devel] Perl 5.18

Tomas Cohen Arazi tomascohen at gmail.com
Mon Apr 28 16:43:31 CEST 2014


The latest Ubuntu LTS release includes Perl 5.18. One of the main
noticeable consequences of this is that some 5.10 features are now marked
as experimental, and hence warnings appear everywhere.

One example could be the use of '~~' (C4/Search.pm:536). These warnings can
be avoided using the following pragma [1]:

no if $] >= 5.018, 'warnings', "experimental::feature_name";

I'd like to know your opinion on how to cope with this. I guess we already
had this kind of problems in the past.

Regards
To+

[1]
http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#Lexical_$__is_now_experimental


-- 
Tomás Cohen Arazi
Prosecretaría de Informática
Universidad Nacional de Córdoba
✆ +54 351 4333190 ext 13168
GPG: B76C 6E7C 2D80 551A C765  E225 0A27 2EA1 B2F3 C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20140428/92002880/attachment.html>


More information about the Koha-devel mailing list