1Path::IsDev::Role::NegaUtsievreHCeounrtirsitbiuct(e3d)PPeartlh:D:oIcsuDmeevn:t:aRtoiloen::NegativeHeuristic(3)
2
3
4

NAME

6       Path::IsDev::Role::NegativeHeuristic - Base role for Negative Heuristic
7       things.
8

VERSION

10       version 1.001003
11

ROLE REQUIRES

13   "excludes"
14       Implementing classes must provide this method.
15
16           return : 1 / undef
17                    1     -> this path is not a development directory as far as this heuristic is concerned
18                    undef -> this path is a development directory as far as this heuristic is concerned
19
20           args : ( $class , $result_object )
21               $class         -> method will be invoked on packages, not objects
22               $result_object -> will be a Path::IsDev::Result
23
24       Additionally, consuming classes should set "$result_object->result(
25       undef )" prior to returning true.
26
27       Composing roles should also invoke "$result_object->add_reason( $self,
28       $result_value, $descriptive_reason_for_result, \%contextinfo )".
29
30       See "Path::IsDev::Result" for details
31

METHODS

33   "name"
34       Returns the name to use in debugging.
35
36       By default, this is derived from the classes name with the "PIDNH"
37       prefix removed:
38
39           Path::IsDev::NegativeHeuristic::IsDev::IgnoreFile->name()
40           → "- ::IsDev::IgnoreFile"
41
42   "heuristic_type"
43       Returns a description of the general heuristic type
44
45           negative heuristic
46

AUTHOR

48       Kent Fredric <kentnl@cpan.org>
49
51       This software is copyright (c) 2017 by Kent Fredric
52       <kentfredric@gmail.com>.
53
54       This is free software; you can redistribute it and/or modify it under
55       the same terms as the Perl 5 programming language system itself.
56
57
58
59perl v5.36.0                      2023-0P1a-t2h0::IsDev::Role::NegativeHeuristic(3)
Impressum