in reply to Re^5: Sorting challengein thread Sorting challenge
Why not just
<>; print sort { $a <=> $b } <>; [download]
Because he is supposed to limit input to a user-specified number. By ignoring that specific number, the test harness could throw in extra inputs to verify he's actually checking.
Dave