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

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...
  • Comment on Re^5: Pass the value from perl script to html page

Replies are listed 'Best First'.
Re^6: Pass the value from perl script to html page
by suntech (Initiate) on May 04, 2005 at 10:39 UTC
    ....:-( 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\

        but if I can get the values from html page by using following lines 'my $query = new CGI;' 'my $sirName = $query ->param("sirName");' why I cant do the same to pass values from perl to html...