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

NAME

Apache::Htpasswd::Perishable - Perl extension for expiring htaccess entries

SYNOPSIS

  use Apache::Htpasswd::Perishable;

DESCRIPTION

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

METHODS

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.

AUTHOR

Allen Day <allenday@ucla.edu>

SEE ALSO

perl. Apache::Htpasswd. Date::Simple.