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

NAME

Dezi::Bot::Handler - web crawler handler

SYNOPSIS

 use Dezi::Bot::Handler;
 my $handler = Dezi::Bot::Handler->new();
 $handler->handle( $swish_prog_doc );

DESCRIPTION

The Dezi::Bot::Handler manages each doc the crawler successfully encounters.

METHODS

new( config )

Returns a new Dezi::Bot::Handler object. Each subclass may define its own definition for config.

handle( bot, doc )

Subclasses are expected to override this method. The default behavior is to print the doc->uri to stderr.

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

Please report any bugs or feature requests to bug-dezi-bot at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi-Bot. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Dezi::Bot

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2013 Peter Karman.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.