On Wed, Feb 16, 2011 at 11:08 AM, Dave Rolsky <[email protected]> wrote:

> On Tue, 15 Feb 2011, will trillich wrote:
>  package MyApp::Controller::Xyzzy;
>
>  sub _set_xyzzy  : Chained               PathPart('xyzzy') CaptureArgs(0) {
>  }
>    sub list      : Chained('_set_xyzzy') PathPart('')      Args(0)        {
>  }
>    # CSV dispatch based on Accept header, not URI!
>    sub _set_item : Chained('_set_xyzzy') PathPart('')      CaptureArgs(1) {
>  }
>    sub item      : Chained('item')       PathPart('')      Args(0)        {
>  }
>

Hmm. Curious about the inline comment there -- how do you do CSV based on
accept-header?

-- 
The first step towards getting somewhere is to decide that you are not going
to stay where you are.  -- J.P.Morgan
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to