in reply to Re: Fun with Numbers
in thread Fun with Numbers
It's all pretty much defined behavior. Any language that makes thin distinctions between strings and numbers (as Perl does) needs to have some defined way of what strings do when they're applied to numbers, and what numbers do when applied to strings. You might take issue with the way Perl does that, and you might take issue with the fact that Perl doesn't have a value-based type system.
But it's all well-defined and documented (more or less).
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Fun with Numbers
by Joost (Canon) on Feb 11, 2005 at 22:08 UTC |