Sorry for taking so long time to create this post, but I needed some time to read and think. Monks thank you for your answers, they have been helpful.
The goal you seem to have is to define Perl in Lisp'ish way, where everything can be derived from a small set of axioms.

No, I just want to understand the documentation, and hopefully help others to do the same.

This Re: My problems to understand the Perl documentation [updated] help me realize that I had missed Slices in scalar context return the last item of the slice. from perldata

Split is an operator (op)

From perlfunc, which is a list of Perl builtin functions. Split is in this list.

The functions in this section can serve as terms in an expression. They fall into two major categories: list operators and named unary operators.

From perlinterp : “An op is a fundamental operation that Perl can perform: all the built-in functions and operators are ops”

From token.c in perl.git: case KEY_split: LOP(OP_SPLIT,XTERM);/

From pp.c in perl.git:

This file contains general pp ("push/pop") functions that execute the opcodes that make up a perl program. A typical pp function expects to find its arguments on the stack, and usually pushes its results onto the stack, hence the 'pp' terminology.
PP(pp_split) { … } implements split.

The de-parse of sub { split} does not show any subroutine call.

Ideas to changes to the documentation

Here follows a number of rough drafts to changes.

Passing of arguments and return values

This from perlsub is only one case:

The Perl model for function call and return values is simple: all functions are passed as parameters one single flat list of scalars, and all functions likewise return to their caller one single flat list of scalars. Any arrays or hashes in these call and return lists will collapse, losing their identities--but you may always use pass-by-reference instead to avoid this. Both call and return lists may contain as many or as few scalar elements as you'd like. (Often a function without an explicit return statement is called a subroutine, but there's really no difference from Perl's perspective.)

It only applies to Perl subs without Prototype or Signature. (I was mislead that it applied to any function.)

Proposals to replace the quoted text above with:

The arguments and return values are transferred using the argument stack.

The subroutine arguments in the script source code is processed (evaluated), to store them on the argument stack. This is done before the call of the subroutine definition.

Perl has two ways of processing the arguments before calling a function.

Proposals to add this before A return statement may :

The return value is a flat list of scalar values, if the subroutine is called in list context and single one in scalar context. To avoid flattening of arrays or hashes you must use pass-by-reference.

Documentation of split

Proposals to add this in the beginning of split

Split is a built-in function (implemented in the Perl interpreter and not as a Perl sub).

The arguments are processed consecutively and in scalar context. The result of the processing of /PATTERN/ is a compiled regular expression. It is later used to match the separators. If LIMIT is one it is not used.


In reply to Re^2: My problems to understand the Perl documentation [updated] by bojinlund
in thread My problems to understand the Perl documentation by bojinlund

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.