Subject: | Non-ASCII digits cause warnings |
Date: | Mon, 01 Feb 2016 20:34:21 +0100 |
To: | <bug-RPC-XML [...] rt.cpan.org> |
From: | fabrizio.ge [...] tiscali.it |
the following line gives a warning.
$ perl -Mstrict -Mwarnings
-MRPC::XML -e 'my $a="x{E55}";my $b=RPC::XML::response->new($a)'
Argument "x{e55}" isn't numeric in numeric ge (>=) at
/usr/share/perl5/RPC/XML.pm line 270.
The problem, in general,
occurs whenever an element is a number (integer or double) where some
digits are replaced by non-ASCII digits. The regular expressions
detecting integers and doubles recognise them as numbers (since it uses
d that matches any digit), but Perl does not (because non-ASCII digits
are not valid in numbers) and warns.
This is the same as
https://github.com/rjray/rpc-xml/pull/10
Connetti gratis il mondo con la nuova indoona: hai la chat, le chiamate, le video chiamate e persino le chiamate di gruppo.
E chiami gratis anche i numeri fissi e mobili nel mondo!
Scarica subito l’app Vai su https://www.indoona.com/