Using user entered data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gilly1471
    New Member
    • Jul 2008
    • 2

    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.
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    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

    • gilly1471
      New Member
      • Jul 2008
      • 2

      #3
      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.

      Comment

      Working...