in reply to Split does not behave like a subroutine

You have cited perldocs, unfortunately without linking to the references.

List Terminology

The term "list value" was confusing me, in such cases I recommend looking into perlglossary#LIST ff.

NB: Perlglossary is from an appendix from the Camel (IIRC), while the perldocs were written by different authors.


I think one source of confusion (besides @arrays) is the syntactic meaning of parentheses ...(...)... in different constructs.

... those constructs impose a list context inside

But ...

... neither do they impose their own context nor do they create a "list value".

Examples (updated)

please see Examples for "LIST", "list context", "list value", "list assigment", "list operator"

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

) well modulo sub-prototype