in reply to CGI::App::Plugin::DBH + variable names

Call dbh_config()?
  • Comment on Re: CGI::App::Plugin::DBH + variable names

Replies are listed 'Best First'.
Re^2: CGI::App::Plugin::DBH + variable names
by Anonymous Monk on Aug 11, 2009 at 09:40 UTC
    but when I used
    <c>$dbh = $self->dbh('Server1') if ( uc($dbName) eq 'Server1' );<c>
    It works, I don't see the docs use dbh_config in the examples for this.
      ??

      1. Module is CGI::Application::Plugin::DBH , not CGI::App::Plugin::DBH
      2. It works, I don't see the docs use dbh_config in the examples for this.

        Look at CGI::Application::Plugin::DBH

      That code 'works' in that it doesn't do anything since uc($dbName) eq 'Server1' is always false.