in reply to Re^6: map and return
in thread map and return

sort actually calls a sub. In fact, you can actually pass a sub name. map is like while. No subs are involved.