Assigning to the empty list forces list context upon the RHS.
So does system, but you don't see me using system to force list context. Your code supports what I say:
print ( 'a', 'b', foo ); # adcde print +() = ( 'a', 'b', foo ); # nothing
Assigning to the empty list does more than force context. It's not a good choice to force list context.
In reply to Re^3: Context tutorial
by ikegami
in thread Context tutorial
by kyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |