Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

EZDBI.pm

EZDBI.pm (current version: 0.06; last updated 2001-11-01)

EZDBI provides an easy, simple interface to SQL databases from Perl. Here's an example program written with EZDBI:

        #!/usr/bin/perl

        use EZDBI 'mysql:test' => 'user', 'password';

        Insert 'into names values', 'Harry', 'Potter';

        if (Select q{* from names where first = 'Harry'} ) {
          print "Potter is IN THE HOUSE.\n";
        }

        for (Select 'last from names') {
          next if $seen{$_}++;
          my @first = Select 'first from names where last = ?', $_;
          print "$_: @first\n";
        }

        Delete q{from names where last='Potter'};

        if (Select q{* from names where last = 'Potter'} ) {
          die "Can't get rid of that damn Harry Potter!";
        }

Warning

This is ALPHA software. There may be bugs. There probably are. The interface may change. It probably will. Do not use this for anything important.


What's New in 0.06

What's New in 0.05

What's New in 0.03

What's New in 0.02


Return to: Universe of Discourse main page | What's new page | Perl Paraphernalia

mjd-perl-memoize-id-i89+bw5g9s9+@plover.com