App::Tel::Passwd::Mock - Passwd module for testing password modules.
my $passwd = App::Tel::Passwd::Mock->new( file => $filename, passwd => $password );
Initializes a new passwd object. This will return a Passwd::Mock Object if the module exists and return undef if it doesn't.
Requires filename and password for the file.
$passwd->passwd($entry);
This takes the entry for a key database and returns the password. It returns a blank string if the entry wasn't found.
To install App::Tel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Tel
CPAN shell
perl -MCPAN -e shell install App::Tel
For more information on module installation, please visit the detailed CPAN module installation guide.