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.
In reply to Re^5: implicit sort disables a chained subroutine?
by Aristotle
in thread implicit sort disables a chained subroutine?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |