Re: [Catalyst] Where should constraints go

2006-11-03 Thread Rodney Broom
it years ago, pre-catalyst, from another Cat-list person: Mark Blythe. --- Rodney Broom ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

Re: [Catalyst] Re: How to redirect before some code excute

2006-10-26 Thread Rodney Broom
How about system($cmd ) ? If the job can handle it, I tend to agree with the job-queue aproach. This can provide other forward gains like being able to distribute the work over multiple systems. --- Rodney Broom ___ List: Catalyst

Re: [Catalyst] Re: How to redirect before some code excute

2006-10-26 Thread Rodney Broom
From: Jonathan Rockway [EMAIL PROTECTED] system($cmd ); I 'system(nohup ... /tmp/file )' Please, no scalar system() calls in a web application. Thanks. How come? --- Rodney Broom ___ List: Catalyst@lists.rawmode.org Listinfo: http

Re: [Catalyst] Re: How to redirect before some code excute

2006-10-26 Thread Rodney Broom
Ah, injection. Yes, you're completely right. My meaning in $cmd was to say, whatever your command is Personally, I tend to only only interpret input, as apposed to using it directly. ie; $cmd_to_run = $allowed_commands{$input_cmd_menu_item} ...but now I'm OT. ;) --- Rodney Broom

[Catalyst] Model API compliance

2006-09-04 Thread Rodney Broom
under Catalyst. My guess is that no such document yet exists, and that it would be a back-compat nightmare to state a limited set of what CDBI/DBIx features things like plugins are allowed to use. --- Rodney Broom ___ List: Catalyst@lists.rawmode.org

Re: [Catalyst] SOLUTION: Re: Authentication::Store::DBIC worksundermyapp_server.pl butnot Apache/mod_perl

2006-08-12 Thread Rodney Broom
From: Matt S Trout [EMAIL PROTECTED] Where are the tests? :) Hmm, good point. My test was to add debugging and see that load was always happening, even when Class::Inspector-loaded($class) reported true. --- Rodney Broom ___ List: Catalyst

Re: [Catalyst] 'require' vs 'use' in Catalyst*

2006-08-12 Thread Rodney Broom
way? --- Rodney Broom ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] 'require' vs 'use' in Catalyst*

2006-08-12 Thread Rodney Broom
From: Yuval Kogman [EMAIL PROTECTED] On Sat, Aug 12, 2006 at 14:03:51 -0700, Rodney Broom wrote: OK, now you've lost me. Is your point that the loaded modules I don't need don't hurt my performance in any way?} They do. My point is that you seem to be investing a disproportionate amount

Re: [Catalyst] [OT] unified diffs

2006-08-12 Thread Rodney Broom
The reason for -u diffs... Aha, -u. New patches atached. --- Rodney Broom catalyst_pm.patch Description: Binary data catalyst_utils_pm.patch Description: Binary data ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman

Re: [Catalyst] SOLUTION: Re: Authentication::Store::DBICworksundermyapp_server.pl butnot Apache/mod_perl

2006-08-12 Thread Rodney Broom
cat-pack-reloading.patch For me it looked like this: $ ls Catalyst-Runtime-5.7001 $ patch -Np0 cat-pack-reloading.patch patching file Catalyst-Runtime-5.7001/lib/Catalyst/Utils.pm patching file Catalyst-Runtime-5.7001/lib/Catalyst.pm $ --- Rodney Broom cat-pack-reloading.patch

Re: [Catalyst] [OT] unified diffs

2006-08-12 Thread Rodney Broom
From: Jonathan Rockway [EMAIL PROTECTED] Another thing to watch out for :) is 80 (or 78) column lines. Is this a functional thing, or stylistic? I'm not seeing anything in the manual related to width. --- Rodney Broom ___ List: Catalyst

[Catalyst] 'require' vs 'use' in Catalyst*

2006-08-10 Thread Rodney Broom
Disliking the fact that require() doesn't call my import(), I'm trying to figure out why Catalyst (and so many other things) use require() over use(). I have to think there's a good reason that just isn't occuring to me. --- Rodney Broom ___ List

[Catalyst] SOLUTION: Re: Authentication::Store::DBIC works undermyapp_server.pl butnot Apache/mod_perl

2006-08-10 Thread Rodney Broom
From: Rodney Broom [EMAIL PROTECTED] From: Christopher H. Laco [EMAIL PROTECTED] ...but doesn't Apache actually load happen twice at startup...once for the config parse, once for the real start? http://perl.apache.org/docs/1.0/guide/config.html#Apache_Restarts_Twice_On_Start Good

Re: [Catalyst] 'require' vs 'use' in Catalyst*

2006-08-10 Thread Rodney Broom
From: Yuval Kogman [EMAIL PROTECTED] Since Catalyst usually uses OO modules, which don't do imports anyway, and it usually loads them on behalf of other code, calling import is not appropriate. OK, I'll take that argument. --- Rodney Broom

Re: [Catalyst] 'require' vs 'use' in Catalyst*

2006-08-10 Thread Rodney Broom
From: Rodney Broom [EMAIL PROTECTED] From: Yuval Kogman [EMAIL PROTECTED] Where is it being required()'d? Catalyst::Model::DBIC::Schema::new() $schema_class-require Why not just 'use' this at the top of your model code? Initially, because that isn't how the C::M::DBIC::Schema docs

Re: [Catalyst] Authentication::Store::DBIC works undermyapp_server.pl but not Apache/mod_perl

2006-08-01 Thread Rodney Broom
compile at server start. Also, apparently MyApp is getting require'd instead of use'd since my import() never gets called. --- Rodney Broom ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable

Re: [Catalyst] Authentication::Store::DBIC works undermyapp_server.pl but not Apache/mod_perl

2006-07-31 Thread Rodney Broom
Location /static SetHandler default-handler /Location /VirtualHost --- Rodney Broom ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] C::P::Session and Object::Signature error

2006-07-29 Thread Rodney Broom
that it might be an interesting test. --- Rodney Broom ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

Re: [Catalyst] error using session and authn plug-ins under apache

2006-07-28 Thread Rodney Broom
than the shell? ie; one perl might have current versions of things while the other one doesn't. I do not get this error using the myapp_server.pl server. Clearly myapp_server.pl is working much differently than other environments (at least apache). --- Rodney Broom

Re: [Catalyst] Major (for me) problem fixed!

2006-07-28 Thread Rodney Broom
From: Jonathan Rockway [EMAIL PROTECTED] However, what should the filtering behavior be? From perlmod(1): All Perl module files have the extension .pm. The use operator assumes this... I suggest that only .pm files be included. --- Rodney Broom

Re: [Catalyst] forcing authentication without credentials

2006-07-27 Thread Rodney Broom
... # Log in the newly created user $c-login($user-login, $user-password); } --- Rodney Broom ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

Re: [Catalyst] accessing action methods in a TT view

2006-07-13 Thread Rodney Broom
between our controller and views like this for reasons like there potentially being more than one view object created during a response. --- Rodney Broom ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst