GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PATH::ISDEV::ROLE::NEGATIVEHEURISTIC (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

version 1.001002

ROLE REQUIRES

CWexcludes

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 <B>shouldB> set $result_object->result( undef ) prior to returning true.

Composing roles <B>shouldB> also invoke $result_object->add_reason( $self, $result_value, $descriptive_reason_for_result, \%contextinfo ).

See Path::IsDev::Result for details

METHODS

CWname

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()
    X "- ::IsDev::IgnoreFile"



CWheuristic_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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PATH::ISDEV::ROLE::NEGATIVEHEURISTIC (3) 2014-08-16

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.