The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Text::TOC::Role::InputHandler - A role for input handlers

VERSION

version 0.10

DESCRIPTION

This role defines the API and partial implementation for input handlers.

REQUIRED METHODS

This role requires one method:

$handler->_process_file( $file, $content )

This method will receive a Path::Class::File object as its first argument and the file's content as its second.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Dave Rolsky.

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