Path::IsDev::Role::Matcher::FullPath::Is::Any(3pm)

Path::IsDev::Role::Matcher::FullPath::Is::Any3pm

Match if the current directory is the same directory from a list of absolute paths.

Version

version 1.001003

Methods

"fullpath_is_any"

Note, this is usually invoked on directories anyway.

    if ( $self->fullpath_is_any( $result_object, '/usr/', '/usr/bin/foo' )) {
    }

Matches if any of the provided paths "realpath"'s correspond to "$result_object->path->realpath"

Private methods

"_fullpath_is"

    $class->_fullpath_is( $result_object, $source_path, $comparison_path );

Does not match if $comparison_path does not exist.

Otherwise, compare $source_path vs "$comparison_path->realpath", and return if they match.

Releases

7 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8–9
  2. 10–11
  3. 12–13
  4. Arch

Author

Kent Fredric <[email protected]>

From perl-path-isdev 1.001003-10 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.