From the httpd error.log:
[Wed Apr 08 10:14:25 2009] [error] [client 209.18.32.79] Name "main::r +everse" used only once: possible typo at /var/www/cgi-bin/ipsectest/i +psectest.pl line 98., referer: http://inoc.cdptpa.rr.com/tools/ipsect +est.html [Wed Apr 08 10:14:25 2009] [error] [client 209.18.32.79] Use of uninit +ialized value $forward in string at /var/www/cgi-bin/ipsectest/ipsect +est.pl line 97., referer: http://inoc.cdptpa.rr.com/tools/ipsectest.h +tml [Wed Apr 08 10:14:25 2009] [error] [client 209.18.32.79] readline() on + closed filehandle BLOCKREPORT at /var/www/cgi-bin/ipsectest/ipsectes +t.pl line 119., referer: http://inoc.cdptpa.rr.com/tools/ipsectest.ht +ml
The reference to the "uninitialized value $forward" is the "$reverselu = gethostbyname("$forward");" line and since it is not writing the file in "$mechone->get( $urlone, ':content_file' => $tempfileone );" we get the "closed file handle" since there is no file.

In reply to Re^2: Perl?Apache issue on newly installed server by Dranzaz
in thread Perl?Apache issue on newly installed server by Dranzaz

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.