Path::IsDev::Heuristic::DevDirMarker(3) | User Contributed Perl Documentation | Path::IsDev::Heuristic::DevDirMarker(3) |
NAME
Path::IsDev::Heuristic::DevDirMarker - Determine if a path contains a .devdir file
VERSION
version 1.001003
DESCRIPTION
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.
METHODS
"files"
Matches files named:
.devdir
"matches"
Matches if any of the files in "files" exist as children of the "path"
AUTHOR
Kent Fredric <kentnl@cpan.org>
COPYRIGHT AND LICENSE
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.
2024-09-01 | perl v5.40.0 |