By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,374 Members | 2,014 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,374 IT Pros & Developers. It's quick & easy.

How to call a perl script in Unix server from a web-page.

P: 56
Hi,

I have a perl script resides in my unix serve. I want to call that from inside a web-page. Please let me know, how can i make it possible?
Mar 4 '10 #1
Share this Question
Share on Google+
3 Replies


P: 4
You can use "system" function .

example :

system ("you perl script path " ) ;
Mar 5 '10 #2

P: 56
Hi,

I need to call the perl script from a webpage means from the HTML code.
My perl script is in unix server.
Mar 5 '10 #3

jkmyoung
Expert 100+
P: 2,057
What program are you using to execute the perl?

Mod_perl?
HTML::Embperl?
HTML::Mason?

Or have you not installed any of these as of yet? Can you check that you do have perl suppot? eg

Expand|Select|Wrap|Line Numbers
  1. <Script language="PerlScript">
  2. $window->document->write("This is PerlScript..");
  3. </script>
  4.  
I suggest googling embed perl in html
Mar 5 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.