Path::I...:Is::Any(3)
π NAME π
Okay bestie, this is the manual page for Path::I...:Is::Any(3) β aka Path::IsDev::Role::Matcher::FullPath::Is::Any. Its whole thing is matching when the current directory is the same directory from a list of absolute paths. slay β¨
π VERSION π
version 1.001003 β that's the version, no cap. π
β¨ METHODS β¨
πΈ fullpath_is_any πΈ
Quick note from the page: this is usually invoked on directories anyway. iykyk
if ( $self->fullpath_is_any( $result_object, '/usr/', '/usr/bin/foo' )) {
}
Matches if any of the provided paths' realpaths correspond to $result_object->path->realpath. That's the match condition, periodt.
π PRIVATE METHODS π
π¦ _fullpath_is π¦
$class->_fullpath_is( $result_object, $source_path, $comparison_path );
Heads up: it does not match if $comparison_path does not exist. π«Ά
Otherwise, it compares $source_path vs $comparison_path->realpath, and returns if they match. simple as that
π 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. π
Bye bestie! This is Path::I...:Is::Any(3), manual source/version perl v5.42.0, dated 2017-03-11. ππ
π¦ 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