Apache2-Response-FileMerge
view release on metacpan or search on metacpan
lib/Apache2/Response/.svn/text-base/FileMerge.pm.svn-base view on Meta::CPAN
$LOG->debug( "\$location = $location" );
$location =~ s/\/$//g;
$location = "$location/";
$LOG->debug( "\$location = $location" );
$file_name = "${location}${file_name}" if ( $location );
$file_name = "$root/$file_name.$type";
my $cname = $file_name;
$cname =~ s/\///g;
my $this_mtime = ( stat($file_name) )[9];
$mtime ||= 0;
$mtime = $this_mtime if ( ! $mtime || $mtime > ( $this_mtime || 0 ) );
my $content = '';
if ( exists( $loaded{$cname} ) ) {
$LOG->debug("Attempting to include \"$file_name\" more than once");
return;
}
else {
$loaded{$cname} = \0;
lib/Apache2/Response/FileMerge.pm view on Meta::CPAN
$LOG->debug( "\$location = $location" );
$location =~ s/\/$//g;
$location = "$location/";
$LOG->debug( "\$location = $location" );
$file_name = "${location}${file_name}" if ( $location );
$file_name = "$root/$file_name.$type";
my $cname = $file_name;
$cname =~ s/\///g;
my $this_mtime = ( stat($file_name) )[9];
$mtime ||= 0;
$mtime = $this_mtime if ( ! $mtime || $mtime > ( $this_mtime || 0 ) );
my $content = '';
if ( exists( $loaded{$cname} ) ) {
$LOG->debug("Attempting to include \"$file_name\" more than once");
return;
}
else {
$loaded{$cname} = \0;
( run in 1.018 second using v1.01-cache-2.11-cpan-49f99fa48dc )