[Catalyst] show_internal_actions = 1

2009-11-15 Thread Kiffin Gish
Hi there. I've enable show_internal_actions but do not see any (obvious) difference in the debug output, what is it exactly that I should be seeing? __PACKAGE__-config( name= 'I4', session = { flash_to_stash = 1 }, show_internal_actions = 0, ); Thanks alot in

Re: [Catalyst] show_internal_actions = 1

2009-11-15 Thread Jacob Helwig
On Sun, Nov 15, 2009 at 02:59, Kiffin Gish kiffin.g...@planet.nl wrote: Hi there. I've enable show_internal_actions but do not see any (obvious) difference in the debug output, what is it exactly that I should be seeing? __PACKAGE__-config(        name    = 'I4',        session = {

[Catalyst] attrs for DBIx::Class::Row

2009-11-15 Thread Octavian Râşniţă
Hi, After I constructed a resultset object, I can get the hash of attributes used for generating it using: my $attrs = $rs-{attrs} But if I get a row object from that resultset, I can't get the attributes anymore using: my $row = $rs-first; my $attrs = $row-{attrs}; Is there a way of

Re: [Catalyst] show_internal_actions = 1

2009-11-15 Thread Kiffin Gish
On Sun, 2009-11-15 at 03:07 -0800, Jacob Helwig wrote: Unless that's a typo in show_internal_actions = 0, then you probably haven't actually enabled it. I'm guessing you actually want show_internal_actions = 1. Yes that's a typo. Should be a 0, same question as before. -- Kiffin Gish

[Catalyst] Request: Wrong Content-Length value: 2628941

2009-11-15 Thread Bill Moseley
I see this error every once in a while. It does not seem like an aborted connection (I get a different error for that). Is there any other reason why the read() method might returning false before done. while ( my $buffer = $self-read($c) ) { $c-prepare_body_chunk($buffer);

Re: [Catalyst] Language selection in URLs

2009-11-15 Thread Octavian Râsnita
From: Joel Bernstein j...@fysh.org On 15 Nov 2009, at 15:06, Bill Moseley wrote: What's your preferred approach to specifying a language tag in a URL? Is there strong argument for one over the other? http://example.com/en_us/path/to/some/index.html # language prefix

Re: [Catalyst] Language selection in URLs

2009-11-15 Thread Stephan Jauernick
Hi, I would suggest you: http://search.cpan.org/~stephanj/Catalyst-TraitFor-Request-PerLanguageDomains-0.01/lib/Catalyst/TraitFor/Request/PerLanguageDomains.pm Octavian Râsnita schrieb: From: Joel Bernstein j...@fysh.org On 15 Nov 2009, at 15:06, Bill Moseley wrote: What's your

Re: [Catalyst] Language selection in URLs

2009-11-15 Thread Octavian Râsnita
From: Stephan Jauernick step...@stejau.de Hi, I would suggest you: http://search.cpan.org/~stephanj/Catalyst-TraitFor-Request-PerLanguageDomains-0.01/lib/Catalyst/TraitFor/Request/PerLanguageDomains.pm I have seen it, but it recognize the languages from the domain names and if I'd use this

Re: [Catalyst] attrs for DBIx::Class::Row

2009-11-15 Thread Tomas Doran
On 15 Nov 2009, at 11:20, Octavian Râşniţă wrote: After I constructed a resultset object, I can get the hash of attributes used for generating it using: my $attrs = $rs-{attrs} Erm, this is a bad move, you're breaking abstraction here.. But if I get a row object from that resultset, I

Re: [Catalyst] show_internal_actions = 1

2009-11-15 Thread Tomas Doran
On 15 Nov 2009, at 13:09, Kiffin Gish wrote: On Sun, 2009-11-15 at 03:07 -0800, Jacob Helwig wrote: Unless that's a typo in show_internal_actions = 0, then you probably haven't actually enabled it. I'm guessing you actually want show_internal_actions = 1. Yes that's a typo. Should be a 0,