Parvez,
You can't directly access your %hash in perl from your
javascript, like you're trying to do.
You have to print out the hash in a perl loop within
your print "javascript" perl code.
Something like this more or less...
#!/usr/bin/perl
my $count = 0;
print <
var some_array = ne
Hello Shankar,
Comments inline below:
On Thu, 2004-02-26 at 07:39, shankar.santhamoorthy wrote:
> Hi ALL ,
> I am quite new to perl... . It would be helpfull if anyone could throw
> some light on how to parse xml from an old version of perl on solaris (
> sun4u sparc SUNW,Ultra-2)
>
>
> Pe
Hi All,
I have a small CGI script which creates a small hash. I want to retrieve values from
the hash in javascript.
A snippet of my code is as follows:
use CGI;
my $q = new CGI;
print $q->header;
print qq[
];
my %hash = qw (
ONE 1
TWO 2