Re: [Catalyst] unexpected behavior of $c->request->secure and $c->request->base

2009-04-27 Thread Phil Mitchell
On Mon, Apr 27, 2009 at 4:22 AM, Matt S Trout wrote: > I think either (a) we need more documentation explaining exactly how it > makes its best guess so that it's more obvious to the people the guess is > wrong for what's happening, or (b) we need (a) and some better guessing. > Let's keep discuss

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread J. Shirley
On Tue, Apr 28, 2009 at 7:10 AM, wrote: > hello, J.Shirley, > > Good morning. Sorry if this post is being replied to at the top of the > message > in light of not further causing some disastifactions in the mailing list > (majority). > > Firstly, a big thank you for your response and confirmati

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread J. Shirley
On Tue, Apr 28, 2009 at 4:12 AM, Jonathan Rockway wrote: > * On Mon, Apr 27 2009, J. Shirley wrote: > > On Mon, Apr 27, 2009 at 9:57 PM, Simon Wilcox < > sim...@digitalcraftsmen.net> wrote: > > Trimming is highly subjective and contextual, top posting is simply bad > form. > > FWIW, my mail clien

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread kakimoto
Hello, Mr Wells, Good morning and a big thank you for your reply. It was pretty accurate. Last night, I managed to get my problem fixed by using a redirect prior to receiving your reply. Basically, my solution was conceptually on the same lines as the proposed solution which you had given. 1

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread kakimoto
hello, J.Shirley, Good morning. Sorry if this post is being replied to at the top of the message in light of not further causing some disastifactions in the mailing list (majority). Firstly, a big thank you for your response and confirmations. Yep, I did try experimenting with my current app

[Catalyst] Catalyst error from CPAN

2009-04-27 Thread gordon
Dear List I have just installed catalyst from CPAN. I seam to get this error : Can't call method "can" without a package or object reference at /usr/local/share/perl/5.8.8/Catalyst/Plugin/Authentication/Store/DBIC.pm line 101 This has been working on another system. Can some one please t

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread Jonathan Rockway
* On Mon, Apr 27 2009, J. Shirley wrote: > On Mon, Apr 27, 2009 at 9:57 PM, Simon Wilcox > wrote: > Trimming is highly subjective and contextual, top posting is simply bad form. FWIW, my mail client can convert top-posting to bottom-posting automatically, but it can't trim unnecessary context.

Re: [Catalyst] Migrating mod_perl app to Catalyst

2009-04-27 Thread Hans Dieter Pearcey
On Mon, Apr 27, 2009 at 01:54:12PM -0500, Michael Reddick wrote: > Does anyone have any advice for migrating a large mod_perl app that has no > tests to catalyst? Write some tests with Test::WWW::Mechanize first; they should be relatively easy to port to Catalyst tests once you swap it in. hdp.

[Catalyst] Migrating mod_perl app to Catalyst

2009-04-27 Thread Michael Reddick
Does anyone have any advice for migrating a large mod_perl app that has no tests to catalyst? I already know of Catalyst::Controller::WrapCGI which seems to be a good start. Thanks, Michael ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scs

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread Jonathan Rockway
* On Mon, Apr 27 2009, Simon Wilcox wrote: > On 27/4/09 13:35, J. Shirley wrote: >> STOP. TOP. POSTING. > Bottom posting without trimming is just as bloody annoying as top posting. YES, thank you. Top posting is much better than bottom-posting "ok" after a 10-page email. Let's avoid both, eh?

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread Ian Wells
2009/4/27 : > Hello, J. Shirley, > >  Thank you for your explaination. It made things much clearer and > confirmed a lotta things. Akimoto-san, people have been answering the questions that you've asked, but I wanted to check up what it is that you're trying to do. Tell me if I have this right:

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread J. Shirley
On Mon, Apr 27, 2009 at 9:55 PM, wrote: > Hello, J. Shirley, > > Thank you for your explaination. It made things much clearer and > confirmed a lotta things. > > One last trivial question: > > > > A redirect is to a URI, composed of however you make it. If you > > preserve > > the request para

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread J. Shirley
On Mon, Apr 27, 2009 at 9:57 PM, Simon Wilcox wrote: > On 27/4/09 13:35, J. Shirley wrote: > >> STOP. TOP. POSTING. >> > > He didn't. It was a whole message without any previous content. Arguably > this might have been a new thread but it seems to continue the thread so I > think it was OK. > > S

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread Simon Wilcox
On 27/4/09 13:35, J. Shirley wrote: STOP. TOP. POSTING. He didn't. It was a whole message without any previous content. Arguably this might have been a new thread but it seems to continue the thread so I think it was OK. Since you're whining about posting etiquette, can I ask you to trim y

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread kakimoto
Hello, J. Shirley, Thank you for your explaination. It made things much clearer and confirmed a lotta things. One last trivial question: > A redirect is to a URI, composed of however you make it. If you > preserve > the request parameters, they will be there. All you are doing is > sending

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread J. Shirley
On Mon, Apr 27, 2009 at 9:07 PM, wrote: > Hi, everyone, > I know that most people here would understand redirect, forward and > detach well. > Unfortunately, there are people like myself who don't understand it that > well and hence, after looking at the CPAN catalyst docs and J.Rockway's > book,

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread kakimoto
Hi, everyone, I know that most people here would understand redirect, forward and detach well. Unfortunately, there are people like myself who don't understand it that well and hence, after looking at the CPAN catalyst docs and J.Rockway's book, still fail to find a page that defines these methods

Re: [Catalyst] script/myapp_server -r Can't exec "/usr/bin/perl" every 3 or 4 restarts

2009-04-27 Thread Mike Glen
Matt S Trout wrote: On Thu, Apr 23, 2009 at 09:51:59AM +0100, Mike Glen wrote: I think it might be due to line 335 in HTTP.pm 335 $ENV{PERL5LIB} .= join $Config{path_sep}, @INC; Hmm. That's to try and make sure -I calls on the original perl invocation get included. I guess what

Re: [Catalyst] Can't seem to use forward or detach. Any special requirements?

2009-04-27 Thread Matt S Trout
On Mon, Apr 27, 2009 at 11:09:19AM +1000, kakim...@tpg.com.au wrote: > Hello, Oliver, > > Good morning. > Referring to > http://kobesearch.cpan.org/htdocs/Catalyst-Runtime/Catalyst.html#c_gt_detach_class_method_arguments, > under "$c->detach()", > it says that detach is the same as forward, but

Re: [Catalyst] unexpected behavior of $c->request->secure and $c->request->base

2009-04-27 Thread Matt S Trout
On Sat, Apr 25, 2009 at 11:13:16AM -0700, seasproc...@gmail.com wrote: > Yes, it all makes sense ... now. Still, I think that when something as > fundamental as $c->request->base is fragile, it calls for some thought. > Perhaps a config variable that lets you set your SSL port? My guess is that > t

Re: [Catalyst] how to reuse Catalyst Schema for non-web purposes?

2009-04-27 Thread Matt S Trout
On Fri, Apr 24, 2009 at 02:08:14PM +1000, kakim...@tpg.com.au wrote: > I took off the 'Authentication::Store::DBIC' from my "use Catalyst qw(" in > myApp.pm. > > This is such that " Catalyst/Plugin/Authentication/Store/DBIx/Class.pm" will > not be required. > After all, no such thing exists(chec