Re: Web photo album, is this possible in CGI

[email protected] (Adam Jimerson) Sat, 23 May 2009 18:50:01 -0400
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
It seems that my posts haven't been making it to the list, or have been 
moderated for some reason.  I would like to thank everyone for their 
replies to my question I have have a starting place up and running.  One 
question that is bugging me now is how to link to an external javascript 
file in the html header of the script?  The page is here 
http://vendion.net/cgi-bin/photoviewer.cgi but as you can see I have the 
javascript directly in my page

print start_html(-title=>"Photo Viewer v$version",
		-author=>'[email protected]',
		-meta=>{'copyright'=>'copyright 2009 Adam Jimerson'},
		-style=>{'src'=>'/default.css'},
		-script=>$jscript);

To get the javascript in the $jscript variable I am currently using a 
here doc statement.  I'm sure due to the length of my javascript code it 
is slowing down my page being made.  If linking to the code in the 
header is possible then I'm sure it would be better than what I have now.