Thread Can't locate bugs.pm?: Gesuchtes Modul ist Datenbank! (6 answers)
Opened by nikster at 2005-04-17 03:28

GwenDragon
 2005-04-17 13:51
#33160 #33160
User since
2005-01-17
14607 Artikel
Admin1
[Homepage]
user image
1) Auf welcher Seite des MySql-Kochbuchs ist es (habe es gerade zur Hand)?
Quote
Ich benutze ein Skript (O'Reilly Mysql Kochbuch)


2) Zur Fehlermeldung:
Da fehlt wohl das Modul bugs.pm.
Was ist denn in deinem bugs.pm drin?

3) Dein Code ist:
Code: (dl )
my $dbh = bugs::connect ();

Warum schreibst du denn nicht
Code: (dl )
1
2
3
4
5
# Snytax von connect()
#$dbh = DBI->connect($dsn, $user, $password,
#                      { RaiseError => 1, AutoCommit => 0 });
my $dsn = "DBI:mysql:database=$database;host=$hostname;port=$port";
my $dbh = DBI->connect($dsn, $user, $password);
\n\n

<!--EDIT|GwenDragon|1113731826-->

View full thread Can't locate bugs.pm?: Gesuchtes Modul ist Datenbank!