From: Kennedy Clark Date: Sun, 15 Nov 2009 00:00:31 +0000 (+0000) Subject: Fix indenting issue (with thanks to Kiffin Gish) X-Git-Tag: v5.8005~90 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=e8556dab015903c85f3a413224a12493d95a7934 Fix indenting issue (with thanks to Kiffin Gish) --- 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