From: Kennedy Clark Date: Sat, 29 May 2010 22:21:29 +0000 (+0000) Subject: Add missing requirement for Perl6::Junction X-Git-Tag: v5.8005~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=3a44dd3c6dcf02fc7b24ffc65ccebd74b0d3c9ee;hp=4768184b3b277399116fbd53cae3697a9767fee5 Add missing requirement for Perl6::Junction --- diff --git a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod index 3eeacc3..6515d48 100644 --- a/lib/Catalyst/Manual/Tutorial/06_Authorization.pod +++ b/lib/Catalyst/Manual/Tutorial/06_Authorization.pod @@ -269,6 +269,11 @@ the "C" line: return any(map { $_->role } $self->roles) eq $role; } +Let's also add Perl6::Junction to the requirements listed in +Makefile.PL: + + requires 'Perl6::Junction'; + Now we need to add some enforcement inside our controller. Open C and update the C method to match the following code: