Re: [Catalyst] Static MultiViews?

2010-12-10 Thread Dorian Taylor (Lists)
On 10-Dec-10, at 7:59 AM, Tomas Doran wrote: On 9 Dec 2010, at 09:31, Dorian Taylor (Lists) wrote: Hello, I'm trying to find an a plugin or something that does some rudimentary content negotiation, i.e. multiviews, i.e. serving static files without their extensions. Can't se

Re: [Catalyst] Forward on to other actions after removing first path segment?

2010-11-15 Thread Dorian Taylor (Lists)
Hi Larry, On 15-Nov-10, at 10:55 AM, Larry Leszczynski wrote: Hi Dorian - OK, but the part that confuses me is why /foo doesn't resolve to MyApp::Foo::index with ->go or ->visit. Maybe this will help (I think in this case "index" works like "default"): http://wiki.catalystframework.org/w

Re: [Catalyst] Forward on to other actions after removing first path segment?

2010-11-15 Thread Dorian Taylor (Lists)
Thanks Eden, On 15-Nov-10, at 8:58 AM, Eden Cardim wrote: Internal action paths are one thing and URI's are another. Forwarding and dispatching are two separate things. The dispatch process matches a URI and happens once per request (unless you invoke ->go or ->visit). Forwarding is mostly a

Re: [Catalyst] Forward on to other actions after removing first path segment?

2010-11-15 Thread Dorian Taylor (Lists)
Hi Ben, thanks for replying! On 15-Nov-10, at 4:00 AM, Ben van Staveren wrote: You want chained actions. package MyApp; sub _date :Chained('/') CaptureArgs(1) PathPart('date') { my $self = shift; my $c = shift; my $date = shift; $c->detach('invalid_date') unless($date =~ /^\d{4}-\d{2}-\d{2}/)

[Catalyst] Fun with developing on Linux and deploying on Windows

2010-08-11 Thread Dorian Taylor (Lists)
Couple things, From make test on Catalyst-Runtime-5.80025, Ubuntu Jaunty x86: t/aggregate/ unit_core_component_loading.t . 24/155 # Failed test 'The thing isa Catalyst::Controller' # at t/aggregate/unit_core_component_loading.t line 233. # The thing isn't de