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

FreeBSD Manual Pages

  
 
  

home | help
Perl::Metrics::Lite::FUseriContributed Perl Perl::Metrics::Lite::FileFinder(3)

NAME
       Perl::Metrics::Lite::FileFinder - find perl files in paths

   find_files( @directories_and_files )
       Uses list_perl_files to find all	the readable Perl files	and returns a
       reference to a (possibly	empty) list of paths.

   list_perl_files
       Takes a list of one or more paths and returns an	alphabetically sorted
       list of only the	perl files.  Uses is_perl_file so may throw an
       exception if a file is unreadable.

   is_perl_file($path)
       Takes a path to a file and returns true if the file appears to be a
       Perl file, otherwise returns false.

       If the file name	does not match any of
       @Perl::Metrics::Lite::PERL_FILE_SUFFIXES	then the file is opened	for
       reading and the first line examined for a a Perl	'shebang' line.	An
       exception is thrown if the file cannot be opened	in this	case.

perl v5.32.1			  2012-03-03Perl::Metrics::Lite::FileFinder(3)

NAME

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Perl::Metrics::Lite::FileFinder&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help