your browser. Later on you'll want to change that to something more
reasonable, such as a "404" message but for now just leave it alone.
- sub default : Path : Args {
+ sub default :Path :Args {
my ( $self, $c ) = @_;
$c->response->body( $c->welcome_message );
is a special method that returns the welcome message that you saw in
your browser.
-The ": Path : Args" after the method name are attributes which determine
+The ":Path :Args" after the method name are attributes which determine
which URLs will be dispatched to this method. (Depending on your version of
Catalyst, it used to say "Private" but using that with default is
currently deprecated.)
most recent version of the Catalyst Tutorial can be found at
L<http://dev.catalyst.perl.org/repos/Catalyst/trunk/Catalyst-Manual/lib/Catalyst/Manual/Tutorial/>.
-Copyright 2006, Kennedy Clark & Gerda Shank, under Creative Commons License
+Copyright 2006-2008, Kennedy Clark & Gerda Shank, under Creative Commons License
(L<http://creativecommons.org/licenses/by-nc-sa/2.5/>).