in reply to Re^3: Pass the value from perl script to html page
in thread Pass the value from perl script to html page

Hi, Thaks for your reply, its still not clear let me explain more clearly, I am validating the values of html form called mypage.htm in perl script myscript.pl, whatI need to do is if name filed or date of birht field is empty then just pass the error messsage to html page mypage.htm, I just dont know how to pass the value form perl script to html page, I can pass the values from html page to perl script.
  • Comment on Re^4: Pass the value from perl script to html page

Replies are listed 'Best First'.
Re^5: Pass the value from perl script to html page
by wazoox (Prior) on May 04, 2005 at 10:27 UTC
    You just have to process the html page THRU the perl script, don't display the html directly. Exactly like in the example I wrote...
      ....:-( but I have done lot of work on it, can I use the same one or I will have to start from scratch.

        Yes. You just use your existing HTML file as the basis for the template - inserting the appropriate template directives where you wish them to be replaced by your chosen text and then feed it through the template processor as appropriate. There is no mechanism to pass a value from a perl program directly to an HTML page as you seem to believe.

        /J\