The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

LCC::Backend::DBI - Backend using DBI for permanent storage

SYNOPSIS

 use LCC;
 $lcc = LCC->new( | {method => value} );

 $backend = $lcc->Backend( $dbh, | {method => value} ); # auto check for DBI
 $backend = $lcc->Backend( 'DBI', $dbh, | {method => value} ); # force DBI

DESCRIPTION

The Backend object of the Perl support for LCC that uses the DBI.pm, and thus transparently supports any database engine that is supported by the DBI.pm module, for permanent storage. Do not create directly, but through the Backend method of the LCC object.

METHODS

There are a few specific methods to this modules. Also see the methods available in the LCC::Backend module.

create

 $backend->create;

Create the table that is needed to store the status. Should do nothing if the table already exists. Is called automatically when the backend object is created.

AUTHOR

Elizabeth Mattijsen, <liz@dijkmat.nl>.

Please report bugs to <perlbugs@dijkmat.nl>.

COPYRIGHT

Copyright (c) 2002 Elizabeth Mattijsen <liz@dijkmat.nl>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

http://lococa.sourceforge.net, the LCC.pm and the other LCC::xxx modules.