Apache-PAR
view release on metacpan or search on metacpan
PAR/PerlRun.pm view on Meta::CPAN
namespace_from => $parent . '::namespace_from_PAR',
);
unless ($mod_perl::VERSION < 1.99) {
__PACKAGE__->install_aliases(\%aliases);
}
sub can_compile {
my $pr = shift;
my $status = $pr->SUPER::can_compile();
return $status unless $status eq OK();
return $pr->_can_compile();
}
sub namespace_from {
my $pr = shift;
my $r = $pr->{r};
my $uri = $r->uri;
PAR/PerlRun.pm view on Meta::CPAN
$script_name = join "", $name, $script_name if $name;
}
$script_name =~ s:/+$:/__INDEX__:;
return $script_name;
}
sub compile {
my ($pr, $eval) = @_;
$pr->_set_path_info();
return $pr->SUPER::compile($eval);
}
1;
__END__
=head1 NAME
Apache::PAR::PerlRun - Apache::PerlRun (or ModPerl::PerlRun) subclass which serves PerlRun scripts to clients from within .par files.
=head1 SYNOPSIS
PAR/Registry.pm view on Meta::CPAN
namespace_from => $parent . '::namespace_from_PAR',
);
unless ($mod_perl::VERSION < 1.99) {
__PACKAGE__->install_aliases(\%aliases);
}
sub can_compile {
my $pr = shift;
my $status = $pr->SUPER::can_compile();
return $status unless $status eq OK();
return $pr->_can_compile();
}
sub namespace_from {
shift->{_script_path};
}
sub run {
my $pr = shift;
$pr->_set_path_info();
return $pr->SUPER::run();
}
1;
__END__
=head1 NAME
Apache::PAR::Registry - Apache::Registry subclass which serves Apache::Registry scripts to clients from within .par files.
=head1 SYNOPSIS
( run in 1.111 second using v1.01-cache-2.11-cpan-49f99fa48dc )