Definitely agree here. Your question is truly generic, and truly about CGI (that is to say, “software-generated web pages in general, however made”), not Perl or any other particular language that could be used to do it. You don’t even know where to begin, yet, so ... “begin at the beginning.” The web is already stuffed with excellent and detailed tutorials at all levels of complexity ... and that is where you need to begin. Set aside your immediate goal of getting this-or-that program to work, and spend, say, the next full week seriously studying what Google can bring to you. Get the big picture. Really get it. Then, you can start posing detailed questions, if need be, here or elsewhere.