http://qs1969.pair.com?node_id=789500

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

in CGI::App::Plugin::DBH + variable names I asked how to do this, the reply was to look at the documentation . I want to do
$dbh = $self->dbh($DBName);
but get an error as previously described, I can't see the module author using dbh_config().

Can someone tell me how this can be done? Named handels from a variable? Also is there some method like this for scripts that aren't CGI scripts, like command line scripts?