Good information. Thank you.

Can you be more detailed with your problem

I've updated the question to include some of my system info. I'm apache on windows. My specific problem currently is that I don't know how to update the httpd.conf file to refresh my modules automatically. I added

PerlInitHandler Apache2::Reload PerlSetVar ReloadTouchFile c:/apps/xampp/perl/lib

to the very bottom of the file. I've got a test file where I change a single return value, but when I rerun the script calling it the return value doesn't change. This is just my test case, but I'd like to have my modules automatically refresh when I change them, at least during development. Simplified code example:

package Planning::SysFunctions; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(fetchFY); @EXPORT_OK = qw(); use strict; use Time::localtime; use Apache2::Reload; sub fetchFY { # return localtime->year() - 100; return 53; }

I run the script that calls this code, then I change the return value to 54, run the script again, but it still returns 53. If I stop and start my webserver, then it will return 54.


In reply to Re^2: Module updates require webserver restart? by Calm
in thread Module updates require webserver restart? by Calm

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.