Im working on an example from a book and incorperating perl script to a
scroll type program this is what I have for perl:


#!/usr/bin/perl

print "Content-type: application/x-javascript\n\n";

print "var result = new Array(";
use LWP::Simple;

$URL = get 'http://www.perl.org';

print $URL;
print "\")\n";


On the web page in put:


<SCRIPT LANGUAGE="JavaScript"
src=<"http://www.mydomain.com/cgibin/myscript.pl";>
<!--
//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript">
<!--
    document.write(result)
//-->
</SCRIPT>

I get an error result no defined  I believe it is in teh perl code that
my error originates.

Thanks !

Mike


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to