in reply to Named Sort Subs with Strict?

The sort comparison function does in fact need access to the variables you are sorting! It's not psychic. {grin}

Use an in-line sort block instead (like @output = sort { BLOCK } @input) and all will be well.

-- Randal L. Schwartz, Perl hacker