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

FreeBSD Manual Pages

  
 
  

home | help
Path::IsDev::Role::NegUsereContributed)Path::IsDev::Role::NegativeHeuristic(3)

NAME
       Path::IsDev::Role::NegativeHeuristic - Base role	for Negative Heuristic
       things.

VERSION
       version 1.001002

ROLE REQUIRES
   "excludes"
       Implementing classes must provide this method.

	   return : 1 /	undef
		    1	  -> this path is not a	development directory as far as	this heuristic is concerned
		    undef -> this path is a development	directory as far as this heuristic is concerned

	   args	: ( $class , $result_object )
	       $class	      -> method	will be	invoked	on packages, not objects
	       $result_object -> will be a Path::IsDev::Result

       Additionally, consuming classes should set "$result_object->result(
       undef )"	prior to returning true.

       Composing roles should also invoke "$result_object->add_reason( $self,
       $result_value, $descriptive_reason_for_result, \%contextinfo )".

       See "Path::IsDev::Result" for details

METHODS
   "name"
       Returns the name	to use in debugging.

       By default, this	is derived from	the classes name with the "PIDNH"
       prefix removed:

	   Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile->name()
	   a "-	::IsDev::IgnoreFile"

   "heuristic_type"
       Returns a description of	the general heuristic type

	   negative heuristic

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			  2014-Path::IsDev::Role::NegativeHeuristic(3)

NAME | VERSION | ROLE REQUIRES | 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::NegativeHeuristic&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help