PDA

View Full Version : Perl Rich HTML (active hyperlink) Support


PaceUSA
06-22-2004, 04:53 PM
I have been working with my perl script so that my script would display rich HTML output.

Question, what would I need to write / include into my perl script, so that my perl script would display an active hyperlink?

Scenario 1:
I have created a guest book so that it would display the visitor's favorite webaddress. If a visitor is interested in going to that address, the visitor would click the link, not copy & paste into the browser's address bar.

Scenario 2:
After filling in the required data into the form, the submit button is clicked, my perl script runs and the output is displayed on second page.

R/ PaceUSA

MattJakel
06-24-2004, 04:52 PM
Just use the <a> tag as you would in any HTML.

PaceUSA
06-25-2004, 02:32 PM
Thanks for your reply back.

It took me a bit to get my script going. I started with your suggestion to a HTML tags; it worked.

Here's a sample of what I have done. I have also included into the script that I wrote CSS style sheet too.

print "<b>Here are the visitors from Web DBMS. Thank you for signing the visitor's Log.</b><ul>";

foreach (@logmessages) {
print qq(<font color="#000000"><strong>$_</strong></font><br>);
$n++;
}
print "</ul>";

Thanks for your input!

r/ PaceUSA