in reply to Re^2: Building a sorting subroutine on the flyin thread Building a sorting subroutine on the fly
Don't put hard-coded subs in @littlesubs. Build up that array dynamically from a bunch of subroutines you've already defined.