in reply to Using CGI::Ajax and CGI::Application::Plugin::DBH
Make BUILD_CHART a CGI::App runmode.
UPDATE:
Well I guess its not quite as simple as all that... but probably what I would do would somehow make a bridge between CGI::App and CGI::Ajax, possibly via the CGI::App plugin mechanism.
To get it going quickly, you could probably instantiate your CGI::App subclass in BUILD_CHART:
my $dbh = MyWebApp->new->dbh
In Section
Seekers of Perl Wisdom