in reply to Passing scalars to CGI module
Assuming that $q is a blessed CGI reference, $q->textfield() (with the proper arguments) would return an HTML text input field, which you would normally print to stdout as part of a web page.
If you're trying to retrieve query paramters, you want to use something like:
$var = $q->param('lastname');
Update:
Ok, I think I misunderstood what you were aiming for. MrNobo1024 hit the nail on the head.
|
|---|