You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by co...@spamassassin.apache.org on 2004/09/29 23:53:20 UTC

[SpamAssassin Wiki] Updated: ArgumentWithUnderscoreIsntNumeric

   Date: 2004-09-29T14:53:20
   Editor: MalteStretz <ms...@apache.org>
   Wiki: SpamAssassin Wiki
   Page: ArgumentWithUnderscoreIsntNumeric
   URL: http://wiki.apache.org/spamassassin/ArgumentWithUnderscoreIsntNumeric

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -37,13 +37,13 @@
 The problem is that any numbers with underscores once they are "stringified", won't be recognized as numbers anymore;  Perl will then issue a warning if those are enabled.
 This is reproducable with the following commands:
 {{{
-$ perl -wle 'print(( "1_000" > 0' )*1)
+$ perl -wle 'print(( "1_000" > 0 )*1)'
 Argument "1_000" isn't numeric in numeric gt (>) at -e line 1.
 1
-$ perl -wle 'print(( "1_000" == 1000' )*1)
+$ perl -wle 'print(( "1_000" == 1000 )*1)'
 Argument "1_000" isn't numeric in numeric gt (>) at -e line 1.
 0
-$ perl -wle 'print(( "1_000" == 1' )*1)
+$ perl -wle 'print(( "1_000" == 1 )*1)'
 Argument "1_000" isn't numeric in numeric gt (>) at -e line 1.
 1
 }}}