[Catalyst-commits] r6337 -
trunk/Catalyst-Controller-PathArgs/lib/Catalyst/Controller
zby at dev.catalyst.perl.org
zby at dev.catalyst.perl.org
Sat Apr 28 19:42:01 GMT 2007
Author: zby
Date: 2007-04-28 19:41:55 +0100 (Sat, 28 Apr 2007)
New Revision: 6337
Modified:
trunk/Catalyst-Controller-PathArgs/lib/Catalyst/Controller/PathArgs.pm
Log:
Conversion described.
Modified: trunk/Catalyst-Controller-PathArgs/lib/Catalyst/Controller/PathArgs.pm
===================================================================
--- trunk/Catalyst-Controller-PathArgs/lib/Catalyst/Controller/PathArgs.pm 2007-04-28 18:37:24 UTC (rev 6336)
+++ trunk/Catalyst-Controller-PathArgs/lib/Catalyst/Controller/PathArgs.pm 2007-04-28 18:41:55 UTC (rev 6337)
@@ -105,7 +105,9 @@
external path of '/book/$book_id/edition/$edition_id/view' you need to have a
module 'Book/Edition.pm'. If you want to build your modules directory structure
completely independently from the path served you need the full power of
-L<Catalyst::DispatchType::Chained>.
+L<Catalyst::DispatchType::Chained>. To convert a script using PathArgs to the
+original Chained just change every PathArgs($number) to 'Chained('.')
+CaptureArgs($number)' or 'Chained('.') Args($number)' if it is an 'EndPoint'.
=head1 BUGS
More information about the Catalyst-commits
mailing list