<?xml version="1.0" encoding="windows-1252"?>
<node id="771791" title="Re^2: Getting Involved with Perl 6 - 2009" created="2009-06-15 16:25:02" updated="2009-06-15 16:25:02">
<type id="11">
note</type>
<author id="616540">
moritz</author>
<data>
<field name="doctext">
"like any other Perl 6 code".

&lt;p&gt;No really, it's hard to tell, because Catalyst isn't ported to Perl 6 yet. Chances are that the dispatch information which is now implemented as attributes is handled with traits in Perl 6 (I remember a small web framework in Perl 6 floating around on IRC the other day that already did that), so an action method might look like this:

&lt;code&gt;
class YourApp::Controller is Catalyst::Controller {
   method someaction($id) is public&lt;/&gt; {
       # executed if http://example.com/someaction is called
   }
}&lt;/code&gt;

&lt;p&gt;Maybe the dispatch code will have an option to use the build-in multi method dispatch, which is rather powerful and serves a similar purpose.

&lt;p&gt;But until somebody actually implements it, that's all just wild guesses.</field>
<field name="root_node">
771635</field>
<field name="parent_node">
771743</field>
</data>
</node>
