X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FController.pm;h=820eaed14673bb7d03e3e3e56dd6d410a6633578;hp=87f6df0d4b9769adddf248669bd77bc1e955a5b3;hb=75ce30d0f208d49ead0134ab45fc2f45f72d6023;hpb=25ca36c2fb3547600772a73c722a30b469ad632f diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index 87f6df0..820eaed 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -892,6 +892,12 @@ them into the controller namespace: my ($self, $c, $int) = @_; } +If you choose not to use imported type constraints (like L, or +you may use L 'stringy' types however just like when you use these types in your +declared attributes you must quote them: + + sub my_moose_type :Local Args('Int') { ... } + See L for more. =head2 Consumes('...')