Gossamer Forum
Home : Products : DBMan : Customization :

If I want to customize my .html pages, can I place javascript in html.pl?*Newbee*

Quote Reply
If I want to customize my .html pages, can I place javascript in html.pl?*Newbee*
Basically that's the question.. I've seen that using templates isn't available, so I'm trying another approach to customize my pages.

I'm new at this and have been reading up on Perl and CGI. What I can't seem to find a clear explanation of is how the information is returned to the browser other than within Perl generating it. Is there some way to send the string to the browser and decipher it there?

Thanks, Mike
Quote Reply
Re: If I want to customize my .html pages, can I place javascript in html.pl?*Newbee* In reply to
Sure you can.

Just stick the Java Script codes between
these codes:

print qq|

|;

(Note: On some servers and versions of PERL, the | character varies.)

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us