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.
__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
In reply to Re: Recursive subroutines with sort
by LanX
in thread Recursive subroutines with sort
by holli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |