Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    DBD::RAM 0.072

    Download button

    No screenshots available
    Downloads: 396  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jeff Zucker | More programs
    Perl Artistic License / FREE
    June 16th, 2006, 17:53 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    DBD::RAM description

    DBD::RAM is a DBI driver for files and data structures.

    DBD::RAM is a DBI driver for files and data structures.

    SYNOPSIS

    use DBI;
    my $dbh = DBI->connect('DBI:RAM:','usr','pwd',{RaiseError=>1});
    $dbh->func({
    table_name => 'my_phrases',
    col_names => 'id,phrase',
    data_type => 'PIPE',
    data_source => [],
    }, 'import' );
    print $dbh->selectcol_arrayref(qq[
    SELECT phrase FROM my_phrases WHERE id = 1
    ])->[0];
    __END__
    1 | Hello, New World
    2 | Some other Phrase

    This sample creates a database table from data, uses SQL to make a selection from the database and prints out the results. While this table is in-memory only and uses pipe "delimited" formating, many other options are available including local and remote file access and many different data formats.

    DBD::RAM allows you to import almost any type of Perl data structure into an in-memory table and then use DBI and SQL to access and modify it. It also allows direct access to almost any kind of file, supporting SQL manipulation of the file without converting the file out of its native format.

    The module allows you to prototype a database without having an rdbms system or other database engine and can operate either with or without creating or reading disk files. If you do use disk files, they may, in most cases, either be local files or any remote file accessible via HTTP or FTP.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Perl module | DBI driver | data structures | DBD::RAM | DBD | driver

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM