[Catalyst] Patch for Catalyst::Manual::Intro

Phil Mitchell phil at 2people.org
Thu Oct 27 18:29:09 CEST 2005


On 10/27/05, Will Hawes <info at whawes.co.uk> wrote:
> Attached is a patch to explain Regex actions in a little more depth. I think this is necessary from a new user's perspective -  I misunderstood how Regex actions work from day one and only had it clarified in IRC yesterday :)
>
> The patch is against Intro.pod from the 5.49_01 release on CPAN.

Thanks a lot for this patch. I've been confused by regex actions, too.
However, is it true that this snippet matches /order/view/123? That's
a bit odd, since it has the end of string metacharacter ...

+    sub view_good : Regex('^.*/view$') {

+        # better!

+    }


>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
>
>
>


--
==========================
2People Blog: http://2-people.blogspot.com/
2People site: http://www.2people.org



More information about the Catalyst mailing list