Path::IsDev::Heuristic::DevDirMarker(3) User Contributed Perl Documentation Path::IsDev::Heuristic::DevDirMarker(3)

Path::IsDev::Heuristic::DevDirMarker - Determine if a path contains a .devdir file

version 1.001003

This Heuristic is a workaround that is likely viable in the event none of the other Heuristics work.

All this heuristic checks for is the presence of a special file called ".devdir", which is intended as an explicit notation that "This directory is a project root".

An example case where you might need such a Heuristic, is the scenario where you're not working with a Perl "CPAN" dist, but are instead working on a project in a different language, where Perl is simply there for build/test purposes.

Matches files named:

.devdir

Matches if any of the files in "files" exist as children of the "path"

Kent Fredric <kentnl@cpan.org>

This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2023-07-26 perl v5.38.0