Yep, new to perl, I started yesterday, but am quickly excelling. I would just like to know how to use user entered data. Let's say I have a programm that calculates the circumference of a circle. The user has to enter in the radius of the circle and then the units of measurement. If the user enters his data into an html page that directs the user to my www.blah.com/blah/circ.cgi, how do u get those numbers to compute in my circumference calculating program.
Using user entered data
Collapse
X
-
You use the CGI module:
But if you just started learning perl yesterday this is not going to be too easy to understand. You need to get the basics down first: data types, string and math operators, loops, file IO, some regular expression knowledge, perls built in functions, then go on to modules, like the CGI module.
Comment