Re: [Catalyst] Squatting::On::Catalyst

2008-08-01 Thread Jonathan Rockway
* On Tue, Jul 29 2008, John Beppu wrote: Now that composition and embedding of web apps is becoming a reality, we have to start anticipating needs like this. For example, the documentation for an app that's built to be embedded could state that: Expectations suck. Use Ernst, tag your

Re: [Catalyst] Configuring a Controller from the config file

2008-08-01 Thread Moritz Onken
Which contains the class-level defaults. Not application defaults. You should never, ever EVER access $self-config in a model, view or controller object. Your config value will be in $self-{key}. It's considered normal to do package My::Controller::Foo; use strict; use warnings; use parent

[Catalyst] Debug with FCGI

2008-08-01 Thread Angel Kolev
Hi all. I run my cat app as standalone FCGI server+apache2: script/myapp_fastcgi.pl -l /tmp/myapp.socket -n 5 How can i run it in debug mode same as catalyst development server? ___ List: Catalyst@lists.scsys.co.uk Listinfo:

[Catalyst] Re: [solved] App testing with Test::WWW::Mechanize::Catalyst

2008-08-01 Thread Marius Kjeldahl
Just a final followup; removing some hardcoded use lib ... paths in the test framework made everything behave identical on all installed systems. The problem was that one of the systems actually had some older stuff in one of the hardcoded paths that got picked up that made it bomb out on that

Re: [Catalyst] Debug with FCGI

2008-08-01 Thread Moritz Onken
Am 01.08.2008 um 12:45 schrieb Angel Kolev: Hi all. I run my cat app as standalone FCGI server+apache2: script/myapp_fastcgi.pl -l /tmp/myapp.socket -n 5 How can i run it in debug mode same as catalyst development server? ___ List:

Re: [Catalyst] Debug with FCGI

2008-08-01 Thread Chris Dolan
On Aug 1, 2008, at 6:28 AM, Moritz Onken wrote: Try CATALYST_DEBUG=1 script/myapp_fastcgi.pl -l /tmp/myapp.socket -n 5 Prefixing env CATALYST_DEBUG=1 will work in more shells than just CATALYST_DEBUG=1. Chris ___ List:

Re: [Catalyst] Debug with FCGI

2008-08-01 Thread Angel Kolev
Chris Dolan wrote: On Aug 1, 2008, at 6:28 AM, Moritz Onken wrote: Try CATALYST_DEBUG=1 script/myapp_fastcgi.pl -l /tmp/myapp.socket -n 5 Prefixing env CATALYST_DEBUG=1 will work in more shells than just CATALYST_DEBUG=1. Chris ___ List:

[Catalyst] I am a Tech. Lead in need of two Senior LAM(Perl) guys in China

2008-08-01 Thread Christopher Davaz
Sorry if it looks like spam, I am not a recruiter. MST said I could post this. ;-) I am a Tech Lead for a LAMP Team at an offshoring company in Shenzen, China. We need two Senior LAMP guys to join our team. It seems hard to find anyone with decent Perl experience in China. Keep in mind this

Re: [Catalyst] Debug with FCGI

2008-08-01 Thread Peter Karman
On 08/01/2008 07:55 AM, Angel Kolev wrote: Doesn`t work too. All debug output goes to apache log. I tryed with -e option - same result. Look at Catalyst::Log::Log4perl if you want to send debugging output somewhere different than stderr. I have this in MyApp.pm just before my setup() call:

Re: [Catalyst] Debug with FCGI

2008-08-01 Thread Dermot
2008/8/1 Peter Karman [EMAIL PROTECTED]: On 08/01/2008 07:55 AM, Angel Kolev wrote: Doesn`t work too. All debug output goes to apache log. I tryed with -e option - same result. Isn't debug configurable? __PACKAGE__-setup(qw/ -Debug

Re: [Catalyst] Debug with FCGI

2008-08-01 Thread Jonathan Rockway
* On Fri, Aug 01 2008, Angel Kolev wrote: Doesn`t work too. All debug output goes to apache log. I tryed with -e option - same result. Use the keep error option, -e. Regards, Jonathan Rockway -- print just = another = perl = hacker = if $,=$ ___

Re: [Catalyst] Debug with FCGI

2008-08-01 Thread Jonathan Rockway
* On Fri, Aug 01 2008, Jonathan Rockway wrote: * On Fri, Aug 01 2008, Angel Kolev wrote: Doesn`t work too. All debug output goes to apache log. I tryed with -e option - same result. Use the keep error option, -e. Hmm, I should read the whole post before I reply. Anyway, it should work. --

[Catalyst] Weak references - perl error

2008-08-01 Thread Dermot
Getting sick of the sight of the DBIx::Class::StartupCheck error with my version of perl, I updated my version to: Name : perl Arch : i386 Epoch : 4 Version: 5.8.8 Release: 10.el5_2.3 Now I am getting the following error: Weak references are not implemented in the version of perl at

Re: [Catalyst] Squatting::On::Catalyst

2008-08-01 Thread John Napiorkowski
--- On Fri, 8/1/08, Jonathan Rockway [EMAIL PROTECTED] wrote: From: Jonathan Rockway [EMAIL PROTECTED] Subject: Re: [Catalyst] Squatting::On::Catalyst To: The elegant MVC web framework catalyst@lists.scsys.co.uk Date: Friday, August 1, 2008, 2:57 AM * On Tue, Jul 29 2008, John Beppu

Re: [Catalyst] Weak references - perl error

2008-08-01 Thread Tomas Doran
On 1 Aug 2008, at 17:16, Dermot wrote: Getting sick of the sight of the DBIx::Class::StartupCheck error with my version of perl, I updated my version to: Name : perl Arch : i386 Epoch : 4 Version: 5.8.8 Release: 10.el5_2.3 Now I am getting the following error: Weak references are not

[Catalyst] Re: Weak references - perl error

2008-08-01 Thread Aristotle Pagaltzis
* Dermot [EMAIL PROTECTED] [2008-08-01 18:25]: Scalar::Util is up-to-date Yes, but only half installed. You need the XS component but you only have the pure-Perl version. Force-install it again. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/

Re: [Catalyst] Re: Weak references - perl error

2008-08-01 Thread Dermot
2008/8/1 Aristotle Pagaltzis [EMAIL PROTECTED]: * Dermot [EMAIL PROTECTED] [2008-08-01 18:25]: Scalar::Util is up-to-date Yes, but only half installed. You need the XS component but you only have the pure-Perl version. Force-install it again. Regards, -- Aristotle Pagaltzis //

Re: [Catalyst] Re: Weak references - perl error

2008-08-01 Thread Dwalu Z. Khasu
On Sat, 2 Aug 2008, Dermot wrote: =2008/8/1 Aristotle Pagaltzis [EMAIL PROTECTED]: = * Dermot [EMAIL PROTECTED] [2008-08-01 18:25]: = Scalar::Util is up-to-date = = Yes, but only half installed. You need the XS component but you = only have the pure-Perl version. Force-install it again. = =

[Catalyst] Re: Weak references - perl error

2008-08-01 Thread Aristotle Pagaltzis
* Dermot [EMAIL PROTECTED] [2008-08-02 01:40]: Does your advise conflict with Tomas's? I didn’t seem Tomas giving you any specific advice, so I don’t understand how to answer your question. Do you think I can fix this without having to revert to installing perl from source? I would rather not