[cgiapp] C::A::P::Apache and other mod_perl handlers

2007-03-12 Thread John Saylor
hi i have been using CGI::Application::Plugin::Apache to run a website and it is working swimmingly ... except i am trying to add a plain vanilla mod_perl handler to the website and i keep getting an error like this: Can't locate object method handler via package XX::YYY.\n and here's the top

Re: [cgiapp] C::A::P::Apache and other mod_perl handlers

2007-03-12 Thread Michael Peters
John Saylor wrote: hi i have been using CGI::Application::Plugin::Apache to run a website and it is working swimmingly ... except i am trying to add a plain vanilla mod_perl handler to the website and i keep getting an error like this: Can't locate object method handler via package

RE: [cgiapp] C::A::P::Apache and other mod_perl handlers

2007-03-12 Thread John Saylor
hi From: Michael Peters [mailto:[EMAIL PROTECTED] Does it work when you don't use C::A::P::Apache? no- same result. How do you have it configured in your apache.conf? the package is pre-loaded in first in startup.pl, then the apache config is like this: Location /YYY SetHandler

[cgiapp] CGI.pm Bug in 5.8.8

2007-03-12 Thread Joel Gwynn
I don't really have time to research this further, but I'm wondering if anybody has experienced this. We have a CGI::Application app that gets its own url like so: $script = http://.$self-query-server_name().$self-query-script_name(); or if you like: $script = $self-query-url(); Nobody else

Re: [cgiapp] C::A::P::Apache and other mod_perl handlers

2007-03-12 Thread Michael Peters
John Saylor wrote: hi From: Michael Peters [mailto:[EMAIL PROTECTED] Does it work when you don't use C::A::P::Apache? no- same result. Well, then it's not related to the plugin. So this becomes a mod_perl question instead of a C::A one. You might try asking the question on that list.

[cgiapp] Request for comments: Test::WWW::Mechanize::CGIApp

2007-03-12 Thread George Hartzell
I was looking for a make-myself-useful-and-learn-something project on the cgiapp wiki and came across a call for a Mechanize'd tester for cgiapp. I put this together after looking at how the catalyst equivalent works. I'd appreciate any feedback folks care to throw at it. It has the following

[cgiapp] Naming modules

2007-03-12 Thread Robert Hicks
Do you tend to make your module names generic like Site or Webapp? I am doing a couple small sites and I am creating secondary modules to hold things. I have something like: Site.pm Site::Actions.pm Site::Validators.pm Site::SQL.pm Is that good? Or would you replace Site with someting?

[cgiapp] Re: HT filters

2007-03-12 Thread Mark Stosberg
Christopher Little wrote: Your syntax for the filter is correct and your sub doc_filter should work. Can you provide a little more code and the error message you're getting? I agree with Christopher. Find the spot in the load_tmpl() you are using where it calls HTML::Template. Compare the args

[cgiapp] Re: Naming modules

2007-03-12 Thread Mark Stosberg
Robert Hicks wrote: Do you tend to make your module names generic like Site or Webapp? I am doing a couple small sites and I am creating secondary modules to hold things. I have something like: Site.pm Site::Actions.pm Site::Validators.pm Site::SQL.pm Is that good? Or would you

Re: [cgiapp] Request for comments: Test::WWW::Mechanize::CGIApp

2007-03-12 Thread Barry Moore
Very nice George. I have immediate use for this on an app I just finished, and perhaps retrofit it onto some existing apps that are currently under-tested. I am getting some errors on make test (OSX perl 5.8.6). It's late so I'm not going to dig into these tonight, but this is a welcome