|
using of perl modules in perl script for slinger server not working
|
02/11/2010 5:35 AM
post47100
|
using of perl modules in perl script for slinger server not working
Hi All,
In my perl script, i am using perl modules like DBI or Sys. When executed from command prompt script is working but when
I run from web browser gettng following error "erro parsing CGI script HTTP header data".
Could any one help on this.
Folliwing is the script lines:
#!usr/bin/perl
use DBI;
...................
..................
I have installed DBI and DBD perl modules.
In the script if i remove "use DBI;" then the script executes from web browser.
I have also mention path of modules in the script with follwing line
use lib "/root/localperl/site_perl/5.10.1/_x86_no"
Adding this also giving the same error.
Thanks
Sravanthy
|
|
|