P
project2501
i have a problem. i'm using apache with perl cgi and the cgi calls
functions from the VCS::CVS module. this is fine... but the
CVS::commit($message) sends items to stdout.
sterr is fine as the webserver redirects that to the apache error logs,
but stdout appears before html stream headers "content type etc" ... and
so the server logs a "malformed header from script. Bad header=..." error
as expected.
i wonder if i can block stdout around that block of code... i've
investigated the use iof eval{} but there don't appear to be options to do
this. the CVS::CVS module itself cannot be set to not output stdout.
any help appreciated.
t
functions from the VCS::CVS module. this is fine... but the
CVS::commit($message) sends items to stdout.
sterr is fine as the webserver redirects that to the apache error logs,
but stdout appears before html stream headers "content type etc" ... and
so the server logs a "malformed header from script. Bad header=..." error
as expected.
i wonder if i can block stdout around that block of code... i've
investigated the use iof eval{} but there don't appear to be options to do
this. the CVS::CVS module itself cannot be set to not output stdout.
any help appreciated.
t