2 questions tho:
Yeah, but I was under the impression the patch was supposed to improve Boolean context. And several sources claim that Perl is internally subdividing scalar context into Boolean, string and (various) numeric contexts.
What some programmers seem to expect is that the initial type (i.e. at time of assignment) is preserved.
Was it ever discussed to add a flag "initial_type" to scalar vars, which ...
...???
And if it was already discussed, what are the reasons against?
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^3: Reason for this discrepancy with scalar?
by LanX
in thread Reason for this discrepancy with scalar?
by kikuchiyo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |