Apache::Htpasswd::Perishable - Perl extension for expiring htaccess entries
use Apache::Htpasswd::Perishable;
This module allows you to define and extend an expiration date that is put into the extra-info field of an .htpasswd entry like:
username:encrypted-password:extra-info
This module inherits all methods from Apache::Htpasswd, and also adds:
expire() - expire($username,$days_from_today). (over)writes the extra-info field of an .htpasswd entry. Calling expire($username) returns the number of days until expiration.
extend() - extend($username,$days_from_expiration). extends the expiration date in the extra-info field of a .htpasswd entry by $days_from_expiration days.
Allen Day <allenday@ucla.edu>
perl. Apache::Htpasswd. Date::Simple.
To install Apache::Htpasswd::Perishable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Htpasswd::Perishable
CPAN shell
perl -MCPAN -e shell install Apache::Htpasswd::Perishable
For more information on module installation, please visit the detailed CPAN module installation guide.