Thanks for your feedback, i appreciate the tips. And i understood that it is possible with perl. I know manny way's how it works in asp and with databases. But i wanted to know if it could be done with perl, i want to learn about that, so i give i a try and see if i can work it out. Again thanks for your comments.

Any server side language can respond to a js request from a browser. perl is a server side language as well as a general purpose language. Ruby, python, java, etc. are also general purpose languages that are used as server side languages. php and asp are popular server side language but they are not considered general purpose languages.