Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Prompt the user for a minimum of five words, maximum 10. enter each into an array.Print in an HTML page the unsorted list, sort in ascending form and print the sorted list. I need to check the input to see if they have stopped entering words, e.g an empty string
  • Comment on How do I prompt the user for words and enter into an array?

Replies are listed 'Best First'.
Re: How do I prompt the user for words and enter into an array?
by tye (Sage) on May 05, 2001 at 01:33 UTC