Thanks. I've tried putting in your code. I have two issues (thus far). I'm getting the error:
Can't locate JSON.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at hello_world.pl line 8.
BEGIN failed--compilation aborted at hello_world.pl line 8.
on the server. (I'm hosting from 2mhost, so I have no idea what this all means) Do they even have JSON?
The other issue, is that my jquery post is directly in my HTML page, not within a function on a PERL page -- so I'm having a hard time extrapolating your code and putting it into straight HTML format because I'm not exactly what you're doing with the whole J. stuff.