1Path::IsDev::Role::MatcUhseerr::CFounltPlraPitabhtu:ht::eI:dsIDsPe:ev:r:Al:nRyDo(ol3ce)u:m:eMnattacthieorn::FullPath::Is::Any(3)
2
3
4

NAME

6       Path::IsDev::Role::Matcher::FullPath::Is::Any - Match if the current
7       directory is the same directory from a list of absolute paths.
8

VERSION

10       version 1.001003
11

METHODS

13   "fullpath_is_any"
14       Note, this is usually invoked on directories anyway.
15
16           if ( $self->fullpath_is_any( $result_object, '/usr/', '/usr/bin/foo' )) {
17
18           }
19
20       Matches if any of the provided paths "realpath"'s correspond to
21       "$result_object->path->realpath"
22

PRIVATE METHODS

24   "_fullpath_is"
25           $class->_fullpath_is( $result_object, $source_path, $comparison_path );
26
27       Does not match if $comparison_path does not exist.
28
29       Otherwise, compare $source_path vs "$comparison_path->realpath", and
30       return if they match.
31

AUTHOR

33       Kent Fredric <kentnl@cpan.org>
34
36       This software is copyright (c) 2017 by Kent Fredric
37       <kentfredric@gmail.com>.
38
39       This is free software; you can redistribute it and/or modify it under
40       the same terms as the Perl 5 programming language system itself.
41
42
43
44perl v5.28.0                  Path2:0:1I7s-D0e3v-:0:9Role::Matcher::FullPath::Is::Any(3)
Impressum