Path::I...:TestDir(3)

okay bestie, welcome to Path::I...:TestDir(3) β€” that's the page title β€” and it's part of User Contributed Perl Documentation, which we're folding in right here at the top instead of copying the header line. This page is short and sweet: it's the heuristic that asks whether a path contains a t/ or xt/ directory. Periodt. πŸ’…

πŸ’– NAME πŸ’–

Path::IsDev::Heuristic::TestDir - Determine if a path contains a t/ or xt/ directory.

✨ VERSION ✨

version 1.001003 β€” that's the whole version vibe, no cap. πŸ¦‹

🌸 METHODS 🌸

πŸŽ€ "dirs" πŸŽ€

Directories relevant to this heuristic, bestie:

t/
xt/

πŸ¦‹ "matches" πŸ¦‹

Call it like this:

if ( $heuristic->matches( $result_object ) ) {
    # one of the directories in ->dirs exists
}

That if is true when one of the directories in ->dirs exists β€” the comment is literally saying it for you. πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Kent Fredric <kentnl@cpan.org> β€” icon behavior, fr fr. 🌟

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.


okay that's the page, mwah πŸ’‹ β€” the footer vibe is source/version perl v5.42.0, date 2017-03-11, and title Path::I...:TestDir(3). bye bestie! πŸ’…βœ¨

πŸ“¦ where this page comes from