Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Sorting challenge

by BillKSmith (Priest)
on Jul 23, 2013 at 04:02 UTC ( #1045765=note: print w/replies, xml ) Need Help??

in reply to Sorting challenge

Always prompt for input. Tell the user what you expect him to do. (e.g. Enter 6 numbers seperated by "Enter Key". Or Enter a list of numbers seperated by "Enter Key". Terminate with eof (ctrl-z)). This prevents most of the problems caused by the user not knowing that the program is waiting for him.

Even better, use a prompt module. In this case, it may be overkill, but it is worth learning how to use one.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045765]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2016-10-26 14:11 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (341 votes). Check out past polls.