Okay, this is the result Hello World164691910332731 . Making progress, but how/where would a newbie go to find the localtime time thing? I think that is what I need most is a comprehensive list of objects and events so I know what I have to choose from.
--- In [EMAIL PROTECTED], "Fagyal, Csongor" <[EMAIL PROTECTED]> wrote: > Hi Brent, > > ><html> > ><title> sample </title> > ><body> > ><% $Response->Write ("Hello World") =Now () %> > ></body> > ></html> > > > > > > > What does > $Response->Write("Hello World") = Now() > supposed to do?? > > First, $Response->Write("Hello World") is not supposed to be a > leftvalue, so you cannot (shouldn't) assign a value to it. > But your biggest problem is that there is now built-in function called > "Now" in Perl, as your page says "Undefined subroutine > &Apache::ASP::Demo::Now called ..." > > I think you want > <% > $Response->Write("Hello World"); > $Response->Write(localtime(time)); > %> > > ...or something like that. > > > - Cs. > > > ------------------------------------------------------------------- -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]