in reply to Concatinating Numbers-Error: Bug or Feature
As a matter of fact, it would be safer to use printf since you'd end up with an empty string if the number happens to be zero.
print "hello " . 0 . " test\n"; would result in hello test which is probably not what you want, hence printf "hello %d test\n", (0); would be better since it produces hello 0 test.
Hope this helps, -gjb-
|
|---|