The most commonly used functions expecting list context include push, pop,
pop does not impose list context. pop only accepts one argument, an array, and that is in scalar context.
Update: on the other hand, push does impose a list context on everything after the initial array argument.
In reply to Re^2: Scalar Vs. List context
by jwkrahn
in thread Scalar Vs. List context
by biohisham
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |