> "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

Reply via email to