X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=63dbd6db05a76a3b51bb4e3ceb5f91a29e2f05a3;hb=ffd92403ac50b1b68ac1ad7934925b465c2d9d4c;hp=e9fed2e079936bd950bc1e337011f008f524a994;hpb=f5681c92bdf43dd0622e1a666babc14057085943;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index e9fed2e..63dbd6d 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -524,16 +524,17 @@ sub stash { return $c->{stash}; } -=head1 $c->welcome_message +=item $c->welcome_message Returns the Catalyst welcome HTML page. =cut sub welcome_message { - my $c = shift; - my $name = $c->config->{name}; - my $logo = $c->uri_for('/static/images/catalyst_logo.png'); + my $c = shift; + my $name = $c->config->{name}; + my $logo = $c->uri_for('/static/images/catalyst_logo.png'); + my $prefix = Catalyst::Utils::appprefix( ref $c ); return <<"EOF"; @@ -616,41 +617,26 @@ sub welcome_message {

Welcome to the wonderful world of Catalyst. - This MVC framework will make web development - something you had never expected it to be: - Fun, rewarding and quick.

+ This MVC + framework will make web development something you had + never expected it to be: Fun, rewarding and quick.

What to do now?

That really depends on what you want to do. We do, however, provide you with a few starting points.

If you want to jump right into web development with Catalyst you might want to check out the documentation.

-
perldoc Catalyst::Manual
-perldoc Catalyst::Manual::Intro
-

If you would like some background information on the - MVC-pattern, these links might be of help to you.

- +
perldoc Catalyst::Manual::Intro
+perldoc Catalyst::Manual

What to do next?

Next it's time to write an actual application. Use the - helper scripts to generate controllers, models and views, they - can save you a lot of work. Also, be sure to check out the vast - and growing collection of plugins for Catalyst on CPAN, you are - likely to find what you need there. + helper scripts to generate controllers, + models and + views, + they can save you a lot of work.

+
script/${prefix}_create.pl -help
+

Also, be sure to check out the vast and growing + collection of plugins for Catalyst on CPAN, + you are likely to find what you need there.

Need help?

@@ -1626,6 +1612,8 @@ Andy Wardley Andreas Marienborg +Andrew Bramble + Andrew Ford Andrew Ruthven @@ -1679,7 +1667,7 @@ Sebastian Riedel, C =head1 LICENSE This library is free software . You can redistribute it and/or modify it under -the same terms as perl itself. +the same terms as Perl itself. =cut