Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Sorting challenge

by BillKSmith (Vicar)
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.

Bill

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045765]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2017-07-23 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (346 votes). Check out past polls.