After much fluffing around I managed to get Apache::Reload to work for .pm
files with:
<httpd.conf>
<Location />
PerlRequire /the/path/to/the/perl/startup.pl
PerlInitHandler Apache::Reload
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</httpd.conf>
BUT
Is it possible to get simple library files (ie. No package def.) to be
reloaded too?
For example:
<index.cgi>
#! /usr/bin/perl -w
use strict;
require "test.pl";
&go();
</index.cgi>
<test.pl>
sub go
{
print "Hello World<br>";
}
1;
</test.pl>
Changes to sub go in test.pl DO NOT get reloaded, but I'd like them to. Yes,
I could just make this a package but I'd rather not.
================================
Luke Pascoe
Developer
IT Support & Development Limited
http://www.itsd.co.nz
Mobile: (021) 303019
Email: [EMAIL PROTECTED]
================================