X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FIntro.pod;h=28646636380e4204824b495344dc26a217c7cc6f;hp=e4d7fdacbd4c51573a44862c2b02fcaa85ec0d95;hb=e8556dab015903c85f3a413224a12493d95a7934;hpb=1b4425c59dda1ab9a6892d408136c090d53c447e 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