Subject: | CGI::Wiki::Setup::*::setup should take the same arguments as CGI::Wiki::Store::*::new |
ok, maybe not identical (i'm talking about my $self = shift; due to ->),
but
my %destination = (
dbname => "test",
dbuser => "test",
dbpass => "",
dbhost => "localhost",
);
CGI::Wiki::Setup::MySQL::setup(%destination);
my $destination = CGI::Wiki::Store::MySQL->new( %destination );
should work.
That way, CGI::Wiki:::Setup::SQLite is not limited to a single argument
(which is a bug), because DBD::SQLite also takes a user/pass argument.