[Catalyst-commits] r12694 -
Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial
xenoterracide at dev.catalyst.perl.org
xenoterracide at dev.catalyst.perl.org
Wed Jan 20 01:47:09 GMT 2010
Author: xenoterracide
Date: 2010-01-20 01:47:09 +0000 (Wed, 20 Jan 2010)
New Revision: 12694
Modified:
Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod
Log:
make attribute list syntax consistant
Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod 2010-01-19 21:41:23 UTC (rev 12693)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod 2010-01-20 01:47:09 UTC (rev 12694)
@@ -303,7 +303,7 @@
Add the following subroutine to your C<lib/Hello/Controller/Root.pm>
file:
- sub hello : Global {
+ sub hello :Global {
my ( $self, $c ) = @_;
$c->response->body("Hello, World!");
@@ -384,7 +384,7 @@
Change the hello method in C<lib/Hello/Controller/Root.pm> to the
following:
- sub hello : Global {
+ sub hello :Global {
my ( $self, $c ) = @_;
$c->stash->{template} = 'hello.tt';
@@ -417,7 +417,7 @@
In C<lib/Hello/Controller/Site.pm>, add the following method:
- sub test : Local {
+ sub test :Local {
my ( $self, $c ) = @_;
$c->stash->{username} = "John";
More information about the Catalyst-commits
mailing list