Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
where $filename is the name of the file (dah!) and extract-info is a program i coded and compiled in java (not in bytecode, but in native machine code, using gcj). Somehow, it seems like my script can't find my program, even thought it is located in the same directory as my cgi script, and that the permissions are adjusted (-rwxr-xr-x). here is the part of the script that is supposed to do the job:cat $filename | extract-info
i am also sure that my program works, because the same code lines work if i use them in a normal Perl script context (i.e. not via an html form). thx in advance$output=`cat $filename | extract-info`; print($output);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI/Perl prob
by dsheroh (Monsignor) on May 28, 2002 at 19:33 UTC | |
|
Re: CGI/Perl prob
by Ovid (Cardinal) on May 28, 2002 at 19:28 UTC |