Re: prematurely closed filehandle



Jim Moon <please.reply@xxxxxxxx> wrote:
"Jim" <jmoon@xxxxxxx> wrote in message


Please choose one posting address and stick with it.


This script (below) runs fine from the command line, but not in IIS,
^^^^^^^^^^^^

perldoc -q "command line"

My CGI script runs from the command line but not the browser. (500
Server Error)


I have determined the cause of the error. It was a permissions issue.


Then it was not a Perl problem.


Hence "Bad file descriptor". I rarely work with Perl,


That is irrelevant, since you did not have a Perl problem to begin with.


--
Tad McClellan SGML consulting
tadmc@xxxxxxxxxxxxxx Perl programming
Fort Worth, Texas
.



Relevant Pages

  • Re: prematurely closed filehandle
    ... My CGI script runs from the command line but not the browser. ... Given my unfamiliarity with Perl and no knowledge of what "Bad file ... descriptor" might actually mean, I believe that you may be mistaken. ... since you did not have a Perl problem to begin with. ...
    (comp.lang.perl.misc)
  • Re: How to call a perl script that returns nothing in an HTML
    ... > which returns nothing in a perl script. ... If you are talking about "the command doesn't produce any output" then you ... then I guess you don't have a Perl problem. ... Ahhh, ok, this is a disguised CGI question. ...
    (comp.lang.perl.misc)
  • Re: Permissions
    ... It runs from the command line. ... In this case the probability that you have a Perl problem are verylow. ... It wouldn't "run from the command line" if it had a syntax error, ...
    (comp.lang.perl.misc)
  • Re: How to display a pdf file using CGI
    ... perldoc -q 500 ... "My CGI script runs from the command line but not the browser." ...
    (comp.lang.perl.misc)
  • Re: Help with perl glob(*) function
    ... I executed my script in the console. ... perldoc -q "My CGI script runs from the command line" ...
    (comp.lang.perl.misc)