[Catalyst-commits] r12699 -
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:44 GMT 2010
Author: xenoterracide
Date: 2010-01-20 01:47:44 +0000 (Wed, 20 Jan 2010)
New Revision: 12699
Modified:
Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod
Log:
show output of reloaded server after updating an action
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-20 01:47:37 UTC (rev 12698)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod 2010-01-20 01:47:44 UTC (rev 12699)
@@ -318,12 +318,35 @@
Here you're sending your own string to the webpage.
-Save the file, start the server (stop and restart it if it's still
-running), and go to L<http://localhost:3000/hello> to
-see "Hello, World!" Also notice that a new action is listed under
-"Loaded Private actions" in the development server debug output.
+Save the file, and you should notice the following in your server output:
+ Saw changes to the following files:
+ - /srv/http/xenoterracide/Catalyst/Hello/lib/Hello/Controller/Root.pm (modify)
+
+ Attempting to restart the server
+ ...
+ [debug] Loaded Private actions:
+ .----------------------+--------------------------------------+--------------.
+ | Private | Class | Method |
+ +----------------------+--------------------------------------+--------------+
+ | /default | Hello::Controller::Root | default |
+ | /end | Hello::Controller::Root | end |
+ | /index | Hello::Controller::Root | index |
+ | /hello | Hello::Controller::Root | hello |
+ '----------------------+--------------------------------------+--------------'
+
+ [debug] Loaded Path actions:
+ .-------------------------------------+--------------------------------------.
+ | Path | Private |
+ +-------------------------------------+--------------------------------------+
+ | / | /index |
+ | / | /default |
+ | /hello | /hello |
+ '-------------------------------------+--------------------------------------'
+ ...
+Go to L<http://localhost:3000/hello> to see "Hello, World!".
+
=head2 Hello, World! Using a View and a Template
In the Catalyst world a "View" itself is not a page of XHTML or a
More information about the Catalyst-commits
mailing list