Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Path::IsDev::Path::IsDUserRContributedrPerliDocumentation:MatchRegexp::File(3)

NAME
       Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp::File -	Match
       if any children have basename's that match a regexp and are files

VERSION
       version 1.001002

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	) ) {
	       ...
	   }

AUTHOR
       Kent Fredric <kentfredric@gmail.com>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2014 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.

perl v5.24.1 Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp::File(3)

NAME | VERSION | METHODS | PRIVATE METHODS | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Path::IsDev::Role::Matcher::Child::BaseName::MatchRegexp::File&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help