Apache-Reload
view release on metacpan or search on metacpan
lib/Apache/Reload.pm view on Meta::CPAN
$Apache::Reload::VERSION = '0.14';
use vars qw(%INCS %Stat $TouchTime %UndefFields %Ignore);
%Stat = ($INC{"Apache/Reload.pm"} => time);
$TouchTime = time;
sub import {
my $class = shift;
my ($package,$file) = (caller)[0,1];
$class->register_module($package, $file);
}
sub unimport {
my $class = shift;
my ($package,$file) = (caller)[0,1];
$class->unregister_module($package, $file);
}
sub package_to_module {
my $package = shift;
$package =~ s/::/\//g;
$package .= ".pm";
return $package;
}
lib/Apache2/Reload.pm view on Meta::CPAN
use ModPerl::Util ();
use vars qw(%INCS %Stat $TouchTime);
%Stat = ($INC{"Apache2/Reload.pm"} => time);
$TouchTime = time;
sub import {
my $class = shift;
my ($package, $file) = (caller)[0,1];
$class->register_module($package, $file);
}
sub package_to_module {
my $package = shift;
$package =~ s/::/\//g;
$package .= ".pm";
return $package;
}
( run in 1.162 second using v1.01-cache-2.11-cpan-1e74a51a04c )