IWA-HWG Perl Course. Week 3 Project, Part 1

AFI Top Movies Quiz

This program demonstrates the use of arrays: including assigning values to an array, sorting an array and reversing an array.

The movies are stored in the order of top to bottom as rated by AFI. The movies are first presented to the user in alphabetical order. The user is quizzed on the ordering of the movies working with a reversed (bottom to top) order. The user is told how many he or she got correct and then shown the actual top to bottom order. The user can also opt to have a recap which prints out all three orders.


top_movies.plx

Sample Output:
top movies output 1
top movies output 2