elavazhagan perl wrote: > > This query may be irreverent to this forums....if it is please pardon > me...... > In my form there is one option to chose the entire year... > > ####### > <TD WIDTH="650" ALIGN="LEFT" bgcolor="#ffffee"> <INPUT TYPE="RADIO" > NAME="PERIOD" VALUE="Y" checked> > Choose an <b>Entire Year</b>: <i>(only years with recorded usage will > display)</i>* $hDATA1::YEAR* > </TD> > ######### > > when the user choose the date ....the range may be fetched from the database > and assigned to the $date_year variable,and the following if loop will be > executed in the cgi script. > > Please let me know the exact functionality of *$hDATA1::YEAR *in this > form???????How does it work??? > > > > ############### > if ($period eq "Y") { > $date_from = "01/01/$date_year"; > $date_to = "12/31/$date_year"; > > } > ###########
Somewhere you have a package called hDATA1, and it has a package scalar variable called $DATE. I can't tell you more than that without seeing the code. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/