The stupid question is the question not asked | |
PerlMonks |
Re^5: implicit sort disables a chained subroutine?by Aristotle (Chancellor) |
on Jan 14, 2005 at 09:27 UTC ( [id://422178]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|