Thread MySQL und Perl (71 answers)
Opened by H3llGhost at 2007-10-14 17:05

GwenDragon
 2007-10-14 18:02
#100796 #100796
User since
2005-01-17
14761 Artikel
Admin1
[Homepage]
user image
Schau dir mal CPAN:DBI an.

Ausschnitt:
Code (perl): (dl )
1
2
3
4
5
6
my $sql = 'select * from Datenbank';
my $hash_ref;

while ($hash_ref = $dbh->selectrow_hashref($sql)) {
  Servers[$hash_ref->{'ID'}] = $$hash_ref;
}

View full thread MySQL und Perl