http://qs1969.pair.com?node_id=544233

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

Hello to all.

I'm a new perl user (fresh UNIX class started in Spring), and my final project is due in a couple of weeks. I'm sorry to bother y'all with what is most likely simple questions, but I just don't know what to do because of my lack of experience.

The project asks us to create a time table for the New York subway system so that a user can identify his best choice of travel. The user will log onto an HTML page that I create, choose his starting location and ending location. Once this is done, my HTML page is supposed to send his selected information to my perl program for processing.

My perl program is supposed to figure out what his cheapest OR fastest choice of travel is, then send it back to the HTML page so the user can see where he is supposed to get on, get off, get off again, etc.

The program coding I will most likely not have a problem in. I'm proficient with C++ and Java, but I have never had to use such programs with an HTML environment - I know nothing about HTML.

My professor suggested I used DreamWeaver to generate the HTML page, which I probably can figure out rather quickly - but what I don't understand is how do I send the information to my program for processing. Is CGI on the right track?

I've been looking at the CGI tutorial posted by OVID, and so far it is very very informative and helpful - but I don't know if that's the right thing I should be looking at.

Would someone mind confirming my theory? Or pointing me in the right track? I would really REALLY appreciate it.

Thankyou Monks.

Edited by planetscape - added p tags