Hi,
I found the conversion flow in perldoc perlnumber. Based on what I read
there my assumption is that the warning is issued before the conversion
between decimal string to integer.


 
Best Regards,
Dov Levenglick
DSP SoC System and Applications Engineer,
Network and Computing Systems Group
Freescale Semiconductor Israel
Tel. +972-9-952-2804
The information contained in this email is classified as:
[ ] Freescale General Business Information
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Proprietary
[x] Personal Memorandum

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jason Elbaum
Sent: Thursday, May 03, 2007 09:53
To: Perl in Israel
Subject: Re: [Israel.pm] Strange "Argument isn't numeric" warning

> "5&6" can't be forced into numeric
> form without being evaluated.

Yes it can. With a numeric-prefixed string, Perl (like atof) takes the
numeric prefix as its value. Hence ("5&6" + 7) == 12.


> As such, since the + operator is expecting
> a number on both sides, we get the warning.

But it gets numbers on both sides: 5 and 7.

Jason
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to