Hi,
Need some help to run this script.
#!/usr/bin/perl -w
use CGI qw(:standard);
my $favourite = param("flavour") ;
print header; # here's a comment. print the header
print start_html("Alok's Page") , h1(" Paragraph... !") ;
if ($favourite) {
print q("Your favourite is : $favourite.") ;
}else {
print hr, start_form ;
print q("Please select: ",textfield ("flavour", "mint")) ;
print end_form, hr ;
}
When I run this script through the browser, I see this page
>>>>>>>>>>>
Paragraph... !
------------------------------------------------------------------------
--------
"Please select: ",textfield ("flavour", "mint")
------------------------------------------------------------------------
--------
>>>>>>>>>>
What I was expecting is a textbox, instead of this string.
"Please select: ",textfield ("flavour", "mint")
Can anybody point out what is wrong ?
Thanx,
Alok
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>