in reply to Re: implicit sort disables a chained subroutine?
in thread implicit sort disables a chained subroutine?

Thanks. That's the explanation that clinches it for me.

I guess the distinction between using a built-in that returns a list, in a chain:

print sort split'', $string;

which works, and using a user sub which produces a list, in the same place:

print sort uniq @array;

which doesn't, is just another anomoly caused by the DWIMery of builtins.


Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.