in reply to Re^9: Operator overloading with returning lists?
in thread Operator overloading with returning lists?

Thanx, good sumarization of the topic.

just perldoc -f scalar

There is no equivalent operator to force an expression to be interpolated in list context because in practice, this is never needed. If you really wanted to do so, however, you could use the construction @{[ (some expression) ]} , but usually a simple (some expression) suffices.
"but usually a simple (some expression)" suffices looks like an unneccessary myth! ; )

Cheers Rolf

Replies are listed 'Best First'.
Re^11: Operator overloading with returning lists?
by ikegami (Patriarch) on Dec 01, 2008 at 17:20 UTC
    Indeed. Like it says earlier, "this is never needed".