Bug#809094: libencode-arabic-perl: warns on usage with Perl 5.22

Colin Watson cjwatson at ubuntu.com
Tue Dec 29 04:23:20 UTC 2015


On Mon, Dec 28, 2015 at 02:29:44AM +0100, gregor herrmann wrote:
> I've fixed these warnings with a patch in git, but
> 
> > # Replacement list is longer than search list at (eval 6) line 6.
> > # Replacement list is longer than search list at (eval 8) line 6.
> > # Replacement list is longer than search list at (eval 10) line 6.
> 
> that's still there. Needs further investigation.

Spelling out the character ranges in full in replacement lists seems to
do the trick here (Perl's documentation generally warns that not
spelling them out in full is dubious).  How about the attached patch?
autopkgtests pass.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spell_out_unicode_charclasses.patch
Type: text/x-diff
Size: 5925 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20151229/2f148a54/attachment-0001.patch>


More information about the pkg-perl-maintainers mailing list