Hi All,
        I've a situation where I create a hash variable in PERL and
use it in Java script which is embedded in the CGI. The key for that
hash is taken from JavaScript. For ex:

----- CGI code----
my %hash{3}=300;
------JScript code---
var var1 = 3;
var variable = $hash{var1};
------------------------
           When I run such a script, it is failing at the 3rd
statement above. Can someone help me in resolving this?


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to