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

    DBIx::Ease - less-code DBI interactions

SYNOPSIS

    use DBIx::Ease;

    my $csv_cons = new DBIx::Ease('CSV');

    $csv_cons->exec(
       "databasename",      # using CSV this is the path
       "DELETE from somename where i=1");

    my @results = $csv_cons->exec("databasename","SELECT ..");

    $csv_cons->disconnect_all;

DESCRIPTION

    DBIx::Ease is intended to allow less-code DBI interactions. Version 0.04
    uses DBD::CSV. exec() takes currently two arguments, the path 'f_dir'
    and a SQL statement. exec() handles connects or reuse of connections,
    prepare, execute and returns an array of all selected rows for SELECTs.

    DBIx::Ease is currently in pre-alpha; rather a prototype.
    

INSTALLATION

    Standard build/installation supported by ExtUtils::MakeMaker(3)...
    perl Makefile.PL
    make
    make install

AUTHOR

    Alexander Pourmirzayouf <commerce_cgi@yahoo.com>