Révision c062b91c
Ajouté par Julien Enselme il y a plus de 10 ans
scripts_divers/rm_prefix.pl | ||
---|---|---|
11 | 11 |
my $motdepasse = 'tata'; |
12 | 12 |
my $port = ''; |
13 | 13 |
|
14 |
my ($prefix) = $ARGV[10];
|
|
14 |
my ($prefix) = $ARGV[1]; |
|
15 | 15 |
|
16 | 16 |
my $dbh = DBI->connect( "DBI:mysql:database=$bd;host=$serveur;port=$port", $identifiant, $motdepasse, { RaiseError => 1, } ) or die "Connection impossible à la base de données $bd !\n $! \n $@\n$DBI::errstr"; |
17 | 17 |
|
Formats disponibles : Unified diff
Correction rm_prefix.pl