There could be numerous reasons why you have encountered an error 500. Could you please provide your stripped down / tested code snippet. Alternatively try adding the following ( Carp to display errors to screen, valid content type ).

Dear sir, thanks for your reply. here is the code which i am talking about. i have installed date::indian perl module on my server (my site hosting on 247zilla.com). they are given these details on server related to perl module: "Location of Your Perl Module(s)

Path: /home/onlinejy/perl Using Your Perl Module(s)

You will need to add /home/onlinejy/perl to the include path. You can do this by adding the following code to your script: