[cgiapp] Using HTTP chunked transfer with CGI::App?

2010-06-18 Thread Des Herriott
Hi, I'm working on a CGI::Application app which needs to run some potentially slow tasks, and I want to keep the user updated about its progress. The runmodes I'm using: - show_request_form - display the initial request form - show_preview - once the user has entered their data, display a list

[cgiapp] Authentication cant find my driver

2010-06-18 Thread Jerry Kaidor
Hello, Really stuck here I'm trying to create a new driver for CAP::Authentication. When I run my program, it says: --- snip -- Error executing class callback in prerun stage: Driver MULTI_DBI can not be found at

Re: [cgiapp] Authentication cant find my driver

2010-06-18 Thread Cees Hek
On Sat, Jun 19, 2010 at 12:51 AM, Jerry Kaidor je...@tr2.com wrote:    I'm trying to create a new driver for CAP::Authentication.  When I run my program, it says: --- snip -- Error executing class callback in prerun stage: Driver MULTI_DBI can not be found at

Re: [cgiapp] Authentication cant find my driver

2010-06-18 Thread Jerry Kaidor
And just for yuks, I said: require '/usr/lib/perl5/site_perl/5.10.0/CGI/Application/Plugin/Authentication/Driver/DBI.pm' ...at the top of my application and it found it. Then I changed it to require

Re: [cgiapp] Authentication cant find my driver

2010-06-18 Thread Jerry Kaidor
What does your 'package' line at the top of your module look like? It should be: package CGI::Application::Plugin::Authentication::Driver::MULTI_DBI; *** Yes, it is exactly that. - Jerry # CGI::Application community mailing list ##

[cgiapp] Using HTTP chunked transfer with CGI::App?

2010-06-18 Thread Nicholas Bamber
Hi Des, I would suggest that you look into AJAX and try to handle rather more on the client/javascript side. If you will permit I will give some hints on how I would approach it. There are alternatives but I primarily use the YUI framework for javascript stuff. 1.) The CGI::Application part

Re: [cgiapp] Authentication cant find my driver

2010-06-18 Thread Ron Savage
Hi Jerry On Fri, 2010-06-18 at 08:14 -0700, Jerry Kaidor wrote: And just for yuks, I said: require '/usr/lib/perl5/site_perl/5.10.0/CGI/Application/Plugin/Authentication/Driver/DBI.pm' ...at the top of my application and it found it. Then I changed it to require

Re: [cgiapp] Authentication cant find my driver

2010-06-18 Thread Jerry Kaidor
Hi Jerry Correct. The '_' is missing from MULTI_DBI. *** Yes, I was back and forth on that underscore. I just put it back in, because it didn't make any difference. So apparently there IS some sort of Perl system-wide list I don't think that's the problem... *** I don't think so,