http://www.perlmonks.org?node_id=1075100


in reply to Blank HTTP POST request, if script has another module in it.

Here's a WAG-load of possible issues, because you haven't given us (well, me anyway, to be sure I understand your problem (more on this, below).

Re shortage of detail about your problem, numerous FAQS on how to ask a question explain what kind of info we need (including that noted above). Please read On asking for help, How do I post a question effectively? and I know what I mean. Why don't you?.

Come, let us reason together: Spirit of the Monastery

Replies are listed 'Best First'.
Re^2: Blank HTTP POST request, if script has another module in it.
by msinfo (Sexton) on Feb 16, 2014 at 18:11 UTC
    Hi Monks,

    Per error log, I have problem with myModule.pm

    # code of myModule use strict; use warnings; use diagnostics; package myModule; # sub routine one for generating HTML content # sub routine two for generating HTML content # sub routine third for database content # some of its code # database disconnection $dbh->disconnect; 1;

    This is apache error log

    This is apache error log:[Sun Feb 16 23:16:59 2014] [error] [client 12 +7.0.0.1] [Sun Feb 16 23:16:59 2014] validate.pl: DBI::db=HASH(0x164d9 +fc)->disconnect invalidates 1 active statement handle (either destroy + statement handles or call finish on them before disconnecting) at D: +\\websites\\One\\cgi-bin/Epanvel.pm line 466., referer: http://localh +ost/cgi-bin/validate.pl

    myModule is stored in D:\\websites\\One\\cgi-bin (D:\websites\One\cgi-bin). Dynamically using package myModule through use command.

    Yes, Webssite was a typo, but my intention was to present problem, in general way

    No, errors, but just blank POST request data.

    myModule may or may not have function to process, HTTP requests.

    Regards

      ... myModule may or may not have function to process, HTTP requests.

      Great, good luck with that :)

        Hi Anonymous Monk,

        Are you pointing to some thing, in funny way? If myModule, has function for handling HTTP request, (or not) how does it affects, other HTTP request handling code.