in reply to Help with Perl movie database engine assignment

Why don't you post what you've thought of and what problems you're running into? We prefer dealing with specific issues, not "Help me, I'm clueless!".

That said, here are a few pointers for general programming methodology:

  1. Rewrite the problem description in your own words. If you can't do this, then you don't know what's being asked. (If you don't know what's being asked, you can't solve the problem. This, btw, is the most common problem in the business world.)
  2. Imagine what you would do if computers didn't exist. How would you solve the problem then? If you can't do this, you either:
    • don't have the skills you need to solve the problem with computers
    • are lazy and I don't want to help you
  3. Once you have laid out what you'd do if computers didn't exist, you have an algorithm. Translating an algorithm into a program is relatively simple. If you can't do this, you haven't been paying attention in class.

Your professor has given you most of the algorithm. You just need to rewrite the problem and you should see what to do.

(Hint: you will need to make three files - one in HTML, one in Perl, and one as the flatfile database.)

(Bonus question: Can you merge the three files into two? How about one?)

------
We are the carpenters and bricklayers of the Information Age.

The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

... strings and arrays will suffice. As they are easily available as native data types in any sane language, ... - blokhead, speaking on evolutionary algorithms

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

  • Comment on Re: Help with Perl movie database engine assignment