[lug] cgi/perl question

j davis davis_compz at hotmail.com
Sun Apr 21 12:57:38 MDT 2002


hi,

Im trying out cgi...when i put this in a page

<form ACTION="/cgi-bin/mycgi.pl">
favorite color: <input name="favecolor">
<input TYPE=SUBMIT VALUE="Submit">

and lets say i type in blue..what do i need to do on the perl
side to accept this value...i.e. the value get sent to the script
like $var=blue then for my perl scrp can i just use $var to
equal blue or do i need to tell perl to get the value like..
$var = <> ....thanks

thanks
jd


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




More information about the LUG mailing list