> Hi,

Howdy

> 
> I´m new with perl. I need to write a program that reads data 
> out of a form sent via internet and is able to interpret the 
> data. I have written the form in html. Is perl right for the 
> other parts? How can I do this easyly? Are there any 

You bet! You could also use the same script to print out your 
html form and now the form and the form processor are all in 
one place. Just an idea...

> pre-witten programs or modules existing for that?

Oh yes, it's super easy:

use CGI qw(param header); 
# this import's the param and header functions from the CGI 
# module which is a core module so you'll have it installed.

my $name = param('name'); # where 'name' was the input tag's name attribute.
print header();
print "Hello <b>$name</b> - How are you today?<br />\n";

You can handle multiple entry checkbox or select input's and other wise 
handle your html form input with param().

Check out CGI.pm 's page on CPAN for even more cool stuff you 
can do with it.

HTH

DMuey

> 
> Thanks
> Matt

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to