$c->NEXT::handler-name( @_ );
if you already C<shift>ed it out of C<@_>. Remember to C<use> C<NEXT>.
-
+
=head2 Storage and Configuration
Some Plugins use their accessor names as a storage point, e.g.
to add a unique ID to every request:
package Catalyst::Plugin::RequestUUID;
-
+
use warnings;
use strict;
-
+
use Catalyst::Request;
use Data::UUID;
use NEXT;
our $VERSION = 0.01;
-
+
{ # create a uuid accessor
package Catalyst::Request;
__PACKAGE__->mk_accessors('uuid');
sub prepare {
my $class = shift;
-
+
# Turns the engine-specific request into a Catalyst context .
my $c = $class->NEXT::prepare( @_ );