CAS::Config - Load the core configuration data and conect to the database.
Version 0.40
use CAS::Config; my $HR_config = CAS::Config->load({CLIENT_ID => n});
This module isn't intended for direct use. It returns a hashref which is used as the common core data structure for all other CAS modules.
Load a CAS client. This function returns a hashref containing all the basic data from the config file and the indicated client, except the admin password. This function is not intended to be called directly, but rather is the core data structure blessed as a CAS client object.
PARAMETERS:
One of the following three arguments must be provided. If more than one is available, they are selected in the order listed here.
CLIENT_ID: The database ID of the client which is seeking to connect to CAS.
CLIENT_NAME: The name of the client which is seeking to connect to CAS.
CLIENT_DOMAIN: The domain of the client which is seeking to connect to CAS. listed.
OPTIONS:
CONFIG: Alternate configuration file. Defaults to '/etc/CAS.yaml'.
Sean P. Quinlan, <gilant at gmail.com>
<gilant at gmail.com>
Please report any bugs or feature requests to bug-cas-config at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CAS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-cas-config at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc CAS
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/CAS
CPAN Ratings
http://cpanratings.perl.org/d/CAS
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=CAS
Search CPAN
http://search.cpan.org/dist/CAS
Copyright 2006 Sean P. Quinlan, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CAS
CPAN shell
perl -MCPAN -e shell install CAS
For more information on module installation, please visit the detailed CPAN module installation guide.