JSTAPd
view release on metacpan or search on metacpan
lib/JSTAPd/Suite.pm view on Meta::CPAN
no strict 'refs';
${"$caller\::IN_THE_PARSE"};
};
strict->import;
warnings->import;
if ($in_the_parse) {
return;
}
my $suite_file = Path::Class::File->new((caller)[1]);
my $base_dir = detect_root($suite_file->dir);
run_server($suite_file, $base_dir);
}
sub detect_root {
my $path = shift;
while (!-f $path->file('conf.pl')) {
die 'can not detect conf.pl' if $path eq $path->parent;
$path = $path->parent;
}
( run in 1.174 second using v1.01-cache-2.11-cpan-1e74a51a04c )