GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  POE::COMPONENT::SERVER::IRC::COMMON (3)

.ds Aq ’

NAME

POE::Component::Server::IRC::Common - provides a set of common functions for the POE::Component::Server::IRC suite.

CONTENTS

SYNOPSIS



 use strict;
 use warnings;

 use POE::Component::Server::IRC::Common qw( :ALL );

 my $passwd = mkpasswd( moocow );



DESCRIPTION

POE::Component::IRC::Common provides a set of common functions for the POE::Component::Server::IRC suite.

FUNCTIONS

CWmkpasswd

Takes one mandatory argument a plain string to ’encrypt’. If no further options are specified it uses crypt to generate the password. Specifying ’md5’ option uses Crypt::PasswdMD5’s unix_md5_crypt function to generate the password. Specifying ’apache’ uses Crypt::PasswdMD5 apache_md5_crypt function to generate the password.



 my $passwd = mkpasswd( moocow ); # vanilla crypt()
 my $passwd = mkpasswd( moocow, md5 => 1 ) # unix_md5_crypt()
 my $passwd = mkpasswd( moocow, apache => 1 ) # apache_md5_crypt()



CWchkpasswd

Takes two mandatory arguments, a password string and something to check that password against. The function first tries md5 comparisons (UNIX and Apache), then crypt and finally plain-text password check.

AUTHOR

Chris ’BinGOs’ Williams

LICENSE

Copyright X Chris Williams

This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.

SEE ALSO

POE::Component::Server::IRC
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 POE::COMPONENT::SERVER::IRC::COMMON (3) 2011-11-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.