NAME

Data::Scan::Role::Consumer - Data::Scan consumer role

VERSION

version 0.009

DESCRIPTION

This the role that every consumer used by Data::Scan must provide. Please refer to Data::Scan for the expected methods signature and return value.

REQUIRED SUBROUTINES/METHODS

dsstart

Implementation that will be called when the scanning is starting.

dsopen

Implementation that will be called when an unfolded content is opened.

dsread

Implementation that will be called when any item is looked at.

dsclose

Implementation that will be called when an unfolded content is closed.

dsend

Implementation that will be called when the scanning is ending.

SEE ALSO

Data::Scan

AUTHOR

Jean-Damien Durand <jeandamiendurand@free.fr>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Jean-Damien Durand.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.