in reply to Pass the value from perl script to html page
It's hard to tell what you intend from your post, however HTML has forms with GET and POST methods. CGI is particularly useful in developing such applications/pages (see also Tutorials). If you're just trying to print to the browser from a cgi:
#!/usr/bin/perl print <<HEADERS; Content-Type: text/html HEADERS print "\n"; print <<PAGE; PAGE
To output a variable, merely include it within the heredoc and it will be interpolated.
For an example using CGI, consult the synopsis of the linked pod.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pass the value from perl script to html page
by suntech (Initiate) on May 04, 2005 at 09:50 UTC | |
by gellyfish (Monsignor) on May 04, 2005 at 10:02 UTC | |
by wazoox (Prior) on May 04, 2005 at 10:08 UTC | |
by suntech (Initiate) on May 04, 2005 at 10:22 UTC | |
by wazoox (Prior) on May 04, 2005 at 10:27 UTC | |
by suntech (Initiate) on May 04, 2005 at 10:39 UTC | |
|