in reply to Re^4: implicit sort disables a chained subroutine?
in thread implicit sort disables a chained subroutine?
Ah, you meant coderef vs bareword as in syntax, not semantics.
I agree that this behaviour is surprising. I guess that goes to show it isn't that bad a special case in practice, probably because comparator blocks are used too frequently for it to matter too much. Back in Perl4 without anonymous functions and prototypes available I guess this special case was actually good.
Makeshifts last the longest.
|
|---|