X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FIntro.pod;h=28646636380e4204824b495344dc26a217c7cc6f;hb=87058ad44d035b5c60be933ea3f5f236f36c912e;hp=e4d7fdacbd4c51573a44862c2b02fcaa85ec0d95;hpb=eecdf6ee1aafd7245b4970c7f92fe5dc3345aa23;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Intro.pod b/lib/Catalyst/Manual/Intro.pod index e4d7fda..2864663 100644 --- a/lib/Catalyst/Manual/Intro.pod +++ b/lib/Catalyst/Manual/Intro.pod @@ -1311,16 +1311,16 @@ C<< $c->request->args >>. If you don't want or need these features then it's perfectly acceptable (and faster) to do something like this: -sub hello : Global { - my ( $self, $c ) = @_; - $c->stash->{message} = 'Hello World!'; - $self->check_message( $c, 'test1' ); -} - -sub check_message { - my ( $self, $c, $first_argument ) = @_; - # do something... -} + sub hello : Global { + my ( $self, $c ) = @_; + $c->stash->{message} = 'Hello World!'; + $self->check_message( $c, 'test1' ); + } + + sub check_message { + my ( $self, $c, $first_argument ) = @_; + # do something... + } Note that C returns to the calling action and continues processing after the action finishes. If you want all further processing