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

In reply to Re^2: Blank HTTP POST request, if script has another module in it. by msinfo
in thread Blank HTTP POST request, if script has another module in it. by msinfo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.