in reply to When does '123' become the number 123.0?
I rather feel this is an advantage: how a scalar behaves is determined by the context in which it is used. Usually, Perl makes just the right choice and you are spared of having to enforce a special interpretation. Do you have an example of a case where a scalar was not interpreted as you expected?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: When does '123' become the number 123.0?
by wa1ter (Initiate) on Jun 16, 2008 at 23:17 UTC |