DBIx-MyPassword
view release on metacpan or search on metacpan
lib/DBIx/MyPassword.pm view on Meta::CPAN
=head2 connect(virtual_user)
An override of the of the DBI::connect subroutine. This method looks up
the specified virtual user and returns a standard DBI connection.
=head2 getVirtualUsers()
Return a sorted list of virtual users.
=head2 checkVirtualUser(virtual_user)
Returns true if the specified virtual user exists, false if not.
=head2 getUser(virtual_user)
Return database user for the specified virtual user.
=head2 getPassword(virtual_user)
Return password for the specified virtual user.
=head2 getDataSource(virtual_user)
Return data source information for the specified virtual user.
=head2 getOptions(virtual_user)
Return options for the specified virtual user.
=head1 INSTALL
Just a standard module install will get the job done. If you would like,
you can set the environment variables MP_DBUSER, MP_DBPASS, MP_DBDS, and
MP_DBOPTS to allow the test scripts to connect to a real database.
MP_DBUSER -> A real database user name
MP_DBPASS -> The database user's password
MP_DBDS -> A DBI data source, for instance "dbi:mysql:test"
MP_DBOPTS -> Any DBI connection options, for instance
"RaiseError => 1, PrintError => 1"
Environment variables are not, these are the commands to install:
perl Makefile.PL
make
make test
make install
=head1 DEPENDENCIES
L<warnings>, L<strict>, L<Carp>, L<DBI>, L<IO::File>, L<Text::CSV>,
L<File::Spec>
=head1 DIAGNOSTICS
=head1 INCOMPATIBILITIES
Let me know
=head1 BUGS AND LIMITATIONS
Let me know
=head1 LICENSE AND COPYRIGHT
This software is licensed under the Artistic or GPL v2 license... a.k.a.
the same license as Perl itself.
=head1 AUTHOR
Josh McAdams, joshua.mcadams at gmail dot com
=head1 SEE ALSO
perl(1); DBI(3); DBIx::Password(3);
=cut
( run in 1.261 second using v1.01-cache-2.11-cpan-0b5f733616e )