in reply to Re^2: Perl not running Javascript
in thread Perl not running Javascript

If you have JS-file in your cgi-bin directory (but it's a bad idea as others pointed) the line should be:

print qq{<script type="text/javascript" src="/cgi-bin/ncbi.js"></scrip +t>};

Also take a look at CGI.pm it's make life easy.