DB_Host, Database, table, username, password etc sollen in
einer separaten Datei abgespeichert werden.
Ich würde das mit Config::IniFiles machen...
if (-e $configfile) {
tie %ini, 'Config::IniFiles', (-file=$configFile);
} else {
die kein $configfile: $!\n;
}
my $DB_Host =
Davor hab ich noch ein use Config::IniFiles;
Klar... ich habe ja auch kein komplettes Programm geschrieben,
nur ein paar Fragmente :-)
my %ini = ;
%ini ist ein Hash und kein Skalar. my %ini reicht.
my $host = %ini{Database}{host}
my $host = $ini{Database}{host}
Das war natürlich Unfug
sitecopy
--
I'm working on it. http://Patterner.de
--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Warning: loading /lib/modules/2.4.18/misc/snd.o will taint the kernel: no license
Warnung, kein Fehler.
Gibt es einen workaround?
Wofür? Wenn es nicht funktioniert hat es einen anderen Grund.
--
I'm working on it. http://Patterner.de
http://StudiesInWords.de awfully darn close to the most
LANG=de.DE@euro
|
LANG=de_DE@euro
--
I'm working on it. http://Patterner.de
http://StudiesInWords.de awfully darn close to the most useful Buffy link in
existence WGF
--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL
Wenn ich jedoch als user news versuche, eine neue Gruppe anzulegen, sagt
mir INN: 'No innd.pid file found; Did server die?'
INN oder ctlinnd..? Ist der INN überhaupt am laufen?
--
I'm working on it. http://Patterner.de
http://StudiesInWords.de awfully darn close to the most useful
wie kann ich einen Bad-Block scan auf meiner swap-Partition machen?
mkswap mit -c als zusätzlichem Parameter...
--
I'm working on it. http://Patterner.de
http://StudiesInWords.de awfully darn close to the most useful Buffy link in
existence WGF
--
Zum AUSTRAGEN schicken Sie eine Mail an
** wml::fmt::sdf: external filter `sdf' not found
Was sagt which sdf...?
Kann mir jemand sagen was ich falsch mache?
Fehlendes apt-get install sdf..?
Bei mir funktioniert es jedenfalls.
--
I'm working on it. http://patterner.de
http://www.amazon.de/exec/obidos/wishlist/AQP0BN7EPJIH
--
8 matches
Mail list logo