AxKit2
view release on metacpan or search on metacpan
plugins/aio/uri_to_file view on Meta::CPAN
my $root = $self->config->path;
$uri =~ s/^\Q$root// || die "$uri did not match config path $root";
my ($volume, $dir, $file) = splitpath($self->config->docroot, 1);
my @path = (splitdir($dir),split(/\//,$uri));
my $i = -1;
# save these so they get locked in for the closure.
my $client = $self->client;
my $config = $self->config;
my $dirindex = $self->config('dirindex');
# $self->log(LOGCRIT, __LINE__ . " ...");
IO::AIO::aio_stat(catpath($volume,catdir(@path),''), sub {
if (-d _) {
$i = @path-1;
if ($original_uri =~ m/\/$/) {
if (defined $dirindex) {
( run in 0.433 second using v1.01-cache-2.11-cpan-49f99fa48dc )