Help for this page
use DBI; ... $dbh = DBI->connect($dsn, 'user', 'password'); $sth = $dbh->prepare("SELECT * FROM numbers"); $sth->execute;
while (my $ref = $sth->SOMETING HERE) { print "The name field " . $ref[name]; print "The phone1 field " . $ref[phone1]; print "The phone2 field " . $ref[phone2]; }