Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^6: Sorting challenge

by hdb (Monsignor)
on Jul 23, 2013 at 15:07 UTC ( #1045891=note: print w/replies, xml ) Need Help??


in reply to Re^5: Sorting challenge
in thread Sorting challenge

Why not just

<>; print sort { $a <=> $b } <>;

Replies are listed 'Best First'.
Re^7: Sorting challenge
by davido (Archbishop) on Jul 23, 2013 at 15:37 UTC

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045891]
help
Chatterbox?
[Discipulus]: ah thanks.. 1nickt all is well with the new job?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2018-01-19 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (222 votes). Check out past polls.

    Notices?