in reply to Re^4: What's most efficient way to get list context? (honest)
in thread What's most efficient way to get list context?

it makes no sense to have to wrap extraneous code around an expression just to "tell" perl to evaluate it in list context
Assignment to an empty list is an easy and sensible way to apply list context to a function. It's no more extraneous than a list keyword; it's just more idiomatic.

There's even a kind of symmetry: you can't assign a scalar to undef, so you have a scalar keyword; you can assign a list to (), so you don't need a list keyword.


Caution: Contents may have been coded under pressure.