This is true as long as you are not doing any dynamic Perl scripting, like
reading values from a database to do form validation.... very cool... 
Man I love Perl....

John

-----Original Message-----
From: Kirkup, Steve [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 1:24 AM
To: ActivePerl (E-mail)
Subject: RE: Nesting javascript in CGI



        A better way to deal with Javascript is to include a link to a file
with your
code in a seperate file.  You include something like this in the header
section of 
the HTML file.

<script language="Javascript1.2" src="/default.js" type="text/javascript">

Cuts down the amount of time that your script has to spend issue print
statements and
seperates out the Javascript from the rest of your code.

Steve K
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to