28/10/2008
Role Based Access Control
6
Authentication Example
luse Authen::Simple::Passwd;
l
lmy $passwd = Authen::Simple::Passwd
->new(path => '/etc/passwd');
l
lif ( $passwd->authenticate( $username, $password ) ) {
l        # successfull authentication
l}
http://search.cpan.org/perldoc?Authen::Simple