Path::Resolver::Role::Converter - something that converts from one type to another


Path-Resolver documentation  | view source Contained in the Path-Resolver distribution.

Index


NAME

Top

Path::Resolver::Role::Converter - something that converts from one type to another

VERSION

Top

version 3.100451

METHODS

Top

input_type

This method must return the type of input that's expected.

output_type

This method must return the type of input that's promised to be returned.

convert

This method performs the actual converstion. It's passed an object of input_type and returns an object of output_type.

IMPLEMENTING

Top

Classes implementing the Converter role must provide three methods:

AUTHOR

Top

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Path-Resolver documentation  | view source Contained in the Path-Resolver distribution.