Loading ...
Sorry, an error occurred while loading the content.

1371Re: Newbie alert, why this does not work

Expand Messages
  • Fagyal, Csongor
    Oct 1, 2003
    • 0 Attachment
      Hi Brent,

      ><title> sample </title>
      ><% $Response->Write ("Hello World") =Now () %>
      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");

      ...or something like that.

      - Cs.

      To unsubscribe, e-mail: asp-unsubscribe@...
      For additional commands, e-mail: asp-help@...
    • Show all 13 messages in this topic