Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp::File(3pm)

Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp::File3pm

Match if any children have basename's that match a regexp and are files

Version

version 1.001003

Methods

"child_basename_matchregexp_file"

    $class->child_basename_matchregexp_file( $result_object, $regexp );

Given a regexp $regexp, match if any of "$result_object->path->children" match the given regexp, on the condition that those that match are also files.

    if ( $self->child_basename_matchregexp_file( $result_object, qr/^Change(.*)$/i ) ) {
        # result_object->path() contains at least one child that is a file and matches the regexp
    }

Private methods

"_this_child_isfile"

    if ( $class->_this_child_isfile( $result_object, $child_path ) ) {
        ...
    }

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.