How do you call a perl program from javascript?

JavaScript

1 answer

Answer

1032636

2026-05-18 13:45

+ Follow

JavaScript
JavaScript

You can call the Script like this,

<script type="text/JavaScript" src="perl_script.pl"></script>

So you just replace a regular JavaScript Call ( .js ) with the .pl Script.

Inside the Perl Script you will have to use embraced JavaScript Functions / Code,

f.e. like print "document.write.('Hello World');";.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.