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?
In reply to Re: When does '123' become the number 123.0?
by jds17
in thread When does '123' become the number 123.0?
by wa1ter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |