Stas Bekman wrote:
[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.
Good point. Added.
+sub unregister_module { + my($class, $package) = @_; + my $module = package_to_module($package); + delete $INCS{$module}; +}
-- -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
signature.asc
Description: OpenPGP digital signature
