[Catalyst] Dept. of Redundancy Dept.

Marvin Humphrey marvin at rectangular.com
Wed May 30 02:10:36 GMT 2007


Greets,

Typo:

   In the above example, "widget23" would capture "23" in the above  
example

Patch below.

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/

Index: lib/Catalyst/Manual/Intro.pod
===================================================================
--- lib/Catalyst/Manual/Intro.pod       (revision 6440)
+++ lib/Catalyst/Manual/Intro.pod       (working copy)
@@ -764,10 +764,9 @@
For both LocalRegex and Regex actions, if you use capturing parentheses
to extract values within the matching URL, those values are available in
the C<$c-E<gt>req-E<gt>captures> array. In the above example, "widget23"
-would capture "23" in the above example, and
-C<$c-E<gt>req-E<gt>captures-E<gt>[0]> would be "23". If you want to  
pass
-arguments at the end of your URL, you must use regex action keys. See
-L</URL Path Handling> below.
+would capture "23" and C<$c-E<gt>req-E<gt>captures-E<gt>[0]> would be
+"23". If you want to pass arguments at the end of your URL, you must  
use
+regex action keys. See L</URL Path Handling> below.







More information about the Catalyst mailing list