PasswordMonkey::Filler - Filler Base Class
use PasswordMonkey::Filler;
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.
2011, Mike Schilli <cpan@perlmeister.com>
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).
To install PasswordMonkey, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PasswordMonkey
CPAN shell
perl -MCPAN -e shell install PasswordMonkey
For more information on module installation, please visit the detailed CPAN module installation guide.