in reply to Re^2: Fun with Numbers
in thread Fun with Numbers
I do consider it a bug, but I would not consider changing the current behaviour before perl6, because of backward compatibility. It would break too subtly in too many scripts.
As an example of "working" DWIM:
my $i = 1234e3; my $j = "1234e3"; print join("\n",$i, $j, 0+$i, 0+$j);
|
|---|