in reply to Recursive subroutines with sort

> Can somebody enlighten me what this is about?

Just a guess ... This might be related to the "newish" feature of having a special variable holding the reference of the current sub to facilitate recursions.

Unfortunately I wasn't able to find it again in order to test if it has issues with older sort implementations.

update

__SUB__ it was.

not a variable though ...

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^2: Recursive subroutines with sort
by ikegami (Patriarch) on Jul 09, 2019 at 04:42 UTC

    IIRC, __SUB__ was introduced in 5.12 5.16, so it's not likely relevant.

      Perl 5.16

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice