Re: [Catalyst] question about retrieving all current Controllers

2007-07-16 Thread Matt S Trout
On Sun, Jul 15, 2007 at 10:59:29PM -0600, Devin Austin wrote: Hi all, I'm trying to figure out how to list all of my controllers on a page like the development server does when it starts up. Is there any way to do this or do I have to code something myself? perldoc Catalyst look for the

[catalyst] conditional loading of Controllers and Models

2007-07-16 Thread Daniel McBrearty
is there a way to have some C's and M's load into catalyst conditionally? for example, if some config variable is set? cheers D ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive:

Re: [catalyst] conditional loading of Controllers and Models

2007-07-16 Thread Matt S Trout
On Mon, Jul 16, 2007 at 02:48:50PM +0200, Daniel McBrearty wrote: is there a way to have some C's and M's load into catalyst conditionally? for example, if some config variable is set? Exclude some of them with setup_components config. Or just do it via @INC manipulation - I use this a fair

Re: [catalyst] conditional loading of Controllers and Models

2007-07-16 Thread Daniel McBrearty
ok, I'll spill ... ! I'll run one version of the site in translate mode - the members there are actually translators, they login and ... translate. Hence there is a model/controller that has all that stuff Of course I could just leave it in for the prod site, but I'd rather just have those

Re: [Catalyst] Session trouble

2007-07-16 Thread Yuval Kogman
Hi, no update yet, been terribly busy (the client is not being very nice to us). If you need comaint to release yourself let me know. You should have commit access, right? The upload from today was to fix the test that needs Cookie. -- Yuval Kogman [EMAIL PROTECTED]

Re: [catalyst] conditional loading of Controllers and Models

2007-07-16 Thread Mark Zealey
I use: package MyApp; use Catalyst qw/ ... /; my @extra_plugins; if( $ENV{CATALYST_DEBUG} ) { push @extra_plugins = qw/ Static::Simple StackTrace /; } # Start the application __PACKAGE__-setup( @extra_plugins ); Mark On Monday 16 July 2007 1:48 pm, Daniel McBrearty wrote: is there a

Re: [Catalyst] Session trouble

2007-07-16 Thread Bill Moseley
On Mon, Jul 16, 2007 at 07:20:36PM +0300, Yuval Kogman wrote: Hi, no update yet, been terribly busy (the client is not being very nice to us). If you need comaint to release yourself let me know. You should have commit access, right? I can take another stab at it -- I had spent a few

Re: [Catalyst] new C::P::A::LDAP for new-style C::P::A

2007-07-16 Thread Juan Miguel Paredes
As suggested in http://search.cpan.org/~jayk/Catalyst-Plugin-Authentication-0.1/lib/Catalyst/Plugin/Authentication.pm (_don't see also_ section), has this new version of C::P::A::LDAP already made it to CPAN and obsoleted C::P::A::Store::LDAP, or is anyone using the new C::P::A (0.1000) with

Re: [Catalyst] new C::P::A::LDAP for new-style C::P::A

2007-07-16 Thread Adam Jacob
On Jul 16, 2007, at 1:35 PM, Juan Miguel Paredes wrote: As suggested in http://search.cpan.org/~jayk/Catalyst-Plugin-Authentication-0.1/ lib/Catalyst/Plugin/Authentication.pm (_don't see also_ section), has this new version of C::P::A::LDAP already made it to CPAN and obsoleted

[Catalyst] calling detach within begin

2007-07-16 Thread Jim Spath
I can't seem to get a detach call within my application's Root begin to work. While it does seem to stop processing with the begin method, Catalyst continues processing whatever action was specified by the request. I've looked through the docs and it seems like I might need to use auto()?

[Catalyst] Re: RFC Catalyst::Plugin::ErrorOut

2007-07-16 Thread A. Pagaltzis
* apv [EMAIL PROTECTED] [2007-07-14 01:35]: Name preference if it's ending up on the CPAN? “ErrorOut” is pretty non-descript. I didn’t have any idea what it was supposed to do until I read your description. Along the lines of your name it would have to be something with “bail out” rather than

Re: [Catalyst] calling detach within begin

2007-07-16 Thread Jim Spath
Jim Spath wrote: I can't seem to get a detach call within my application's Root begin to work. While it does seem to stop processing with the begin method, Catalyst continues processing whatever action was specified by the request. I've looked through the docs and it seems like I might need

Re: [catalyst] conditional loading of Controllers and Models

2007-07-16 Thread Kee Hinckley
On Jul 16, 2007, at 8:48 AM, Daniel McBrearty wrote: is there a way to have some C's and M's load into catalyst conditionally? for example, if some config variable is set? You can call load_classes() and pass something other than the default values. At one point for some reason I wanted to