in reply to Re: sub Issue include
in thread sub Issue include

require

Replies are listed 'Best First'.
Re^3: sub Issue include
by simonm (Vicar) on Dec 17, 2004 at 21:04 UTC
    You can use do to execute the code from a file; unlike require it doesn't check to see if the file has already been loaded.

    (More generally, one could extract the logic from Apache::StatINC to create an importable require() function that did the same check-for-changes trick to reload the code only when needed; I'm surprised this hasn't already been done.)