467,081 Members | 1,200 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,081 developers. It's quick & easy.

Using user entered data

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.
Jul 2 '08 #1
  • viewed: 1142
Share:
2 Replies
KevinADC
Expert 2GB
You use the CGI module:

http://perldoc.perl.org/CGI.html

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.
Jul 2 '08 #2
Well, I've done all that :S so this should be too hard. I got past Hello World, this should be a piece of cake.
Jul 3 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Saket Mundra | last post: by
reply views Thread by cameron | last post: by
1 post views Thread by xcelmind | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.