But you do not fully understand the beauty of this situation here. I got two external javascript files and in addition to adding these two script files I also want to add javascript code stored in a variable to the page that I am printing out using CGI.pm
Let me give you this:
2 external files => main1.js and main2.js
javascript code in variable => $javascript = <<EOF;
alert("Extra Code");
EOF
And I want all of these included in the page that I output. Can you please suggest the perl code using CGI.pm???