[EMAIL PROTECTED] wrote:
Index: Reload.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/Reload.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Reload.pm 11 Mar 2004 06:34:24 -0000 1.14
+++ Reload.pm 9 Sep 2004 18:29:09 -0000 1.15
@@ -66,6 +66,12 @@
}
}
Probably add a caveat comment here, since it'll unregister it only in the current interpreter/process.
+sub unregister_module {
+ my($class, $package) = @_;
+ my $module = package_to_module($package);
+ delete $INCS{$module};
+}
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
