NAME

PasswordMonkey::Filler - Filler Base Class

SYNOPSIS

use PasswordMonkey::Filler;

DESCRIPTION

PasswordMonkey filler plugin base class. Don't use directly, but let your plugins inherit from it.

Plugins need to define the following methods:

prompt

Returns the prompt (as a regular expression) the plugin is waiting for.

The following methods are optional:

pre_fill

Gets called before the password is sent. Can be used for diagnostics or user notification via $monkey->expect->send_user().

post_fill

Gets called after the password has been sent.

fill

Defaults to a base class method sending the password via Expect. If you roll your own, make sure to take a look at what the base class method does, as you need to replicate it.

AUTHOR

2011, Mike Schilli <cpan@perlmeister.com>

COPYRIGHT & LICENSE

Copyright (c) 2011 Yahoo! Inc. All rights reserved. The copyrights to the contents of this file are licensed under the Perl Artistic License (ver. 15 Aug 1997).