CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: mod_perl:
Perl script - No error - No output - running from server

 



sivarajan
New User

Jan 19, 2011, 2:47 AM

Post #1 of 1 (15667 views)
Perl script - No error - No output - running from server Can't Post

Hi,

I'm developing a server using CGI-perl. I'm a linux user. I made a CGI page nd i'm calling a perl script as a response to submit. I'm performing various tasks with in tat perl file using system() command, like given below

$cmd="perl abc.pl <input file>";
system($cmd);

When i tried to run a 3rd party software executable command (svm_classify) like this

$cmd="svm_classify <testfile> <modelfile> <outputfile>";
system($cmd);

the output file is not getting generated. but it says no error also.
the code works fine BUT NOT WORKING WHEN I RUN FROM A SERVER(localhost)

Additional:
I tried to run that part alone as a perl script nd its working fine.
I tried to run that part from command line nd its working fine.

PLSSSSSSSS help me out!!!!!!!!!!

thanx a lot,
K. Sivarajan.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives