system info: i have installed XAMPP on my machine having Window XP OS .

also installed Apache2.2,

now, i have created two folders in C:\xampp\htdocs they are php and perl .

these folder contains programs in their respective languages (ie index.php and index.pl respectively)

when i type in browser : http: //localhost:88/php/ the program in index.php gets executed and o/p is displayed in browser

but , when i type: http://localhost:88/perl/ browser displays a blank page

PROBLEM : how to run .pl file in above scenario ?

the code in index.pl

#!/usr/bin/perl
print "<html>";
print "<h2>PERL</h2>";
print "this is text";
print "</html>";
link|improve this question
feedback

3 Answers

up vote 0 down vote accepted

this question has programmatic answer point is its not serverfault question instead its stack overflow question

see HERE

you'll know what i mean

link|improve this answer
feedback

I think you gave us not enough information to properly identify the problem. What is the output of running index.pl outside the browser?

link|improve this answer
question is edited to give more info. pls check – Dexter Mar 24 '10 at 9:06
feedback

In your Apache config look for "DirectoryIndex". You will need to add index.pl to the list of files Apache will serve up if none is specified. Reload or restart Apache for the change to take effect.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown