Path::I...rMarker(3)
π
Path::I...rMarker(3) π
okay so welcome to the User Contributed Perl Documentation page for Path::IsDev::Heuristic::DevDirMarker β the manual name is folded in right here, bestie, because we're cute like that π«Ά. this whole page is about one little heuristic, and it's a whole vibe.
πΈ NAME πΈ
Path::IsDev::Heuristic::DevDirMarker β determine if a path contains a .devdir file. that's the mission, and it ate π
.
β¨ VERSION β¨
version 1.001003 β that's the number, no cap π₯.
π DESCRIPTION π
okay so this Heuristic is a workaround, and it's likely viable if none of the other Heuristics work for you. lowkey it's the backup plan that shows up and does its thing π.
all this heuristic checks for is the presence of a special file called .devdir. that file is intended as an explicit notation that "This directory is a project root" β like the folder is wearing a tiny crown that says project root π.
an example case where you might need such a Heuristic: you're not working with a Perl CPAN dist, but instead you're working on a project in a different language, where Perl is simply there for build/test purposes. iykyk, Perl is just doing backup dancer duty π.
π METHODS π
β¨ files β¨
matches files named:
.devdir
that's the list, bestie β just .devdir, and it's iconic for it π―.
π¦ matches π¦
matches if any of the files in files exist as children of the path. so like, if .devdir is sitting inside that path, this heuristic says yes β periodt π.
π AUTHOR π
Kent Fredric <kentnl@cpan.org> β author behavior, we love to see it π.
π 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. free software fr fr π«Ά.
π cute sign-off: this page is from perl v5.42.0, dated 2017-03-11, and it's the Path::I...rMarker(3) page. bye bestie, go mark those dev dirs and slay β¨π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Path-IsDev 1.001003-bp160.1.11 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms