The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Class::PObject::Driver::db_file - DB_File PObject driver

SYNOPSIS

    use Class::PObject;
    pobject Article => {
        columns => ['id', 'title', 'author', 'content'],
        driver  => 'db_file',
        datasource => './data'
    };

DESCRIPTION

Class::PObject::Driver::db_file is a direct subclass of Class::PObject::Driver::DBM.

METHODS

Class::PObject::Driver::db_file only provides dbh() method

  • dbh($self, $pobject_name, \%properties) - returns a reference to a hash tied to a database.

SEE ALSO

Class::PObject::Driver Class::PObject::Driver::DBM

COPYRIGHT AND LICENSE

For author and copyright information refer to Class::PObject's online manual.