in reply to Re^6: Confused as to why the "casting context" is mis-behaving (void,void,scalar)
in thread Confused as to why the "casting context" is mis-behaving
Scalar assignment in sub: 1: scalar context # shouldn't this be void context? 2: scalar context # shouldn't this be void context? 3: scalar context $x = apples
It should be void, but it can't due to the way context is determined where it can vary at run-time. Known bug, but it can't readily be fixed.
|
|---|