X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial.pod;h=ef0db085b0d2ae9f63b3382ed6c78c2e002ad750;hp=db478f3991862e0806474f6b12e15cc261b39ece;hb=34d28dfd33574ce30aca69fb8700b61111d97b92;hpb=ad9bffa7e6396bd7a917b60ca114dc8d7761ffd0 diff --git a/lib/Catalyst/Manual/Tutorial.pod b/lib/Catalyst/Manual/Tutorial.pod index db478f3..ef0db08 100644 --- a/lib/Catalyst/Manual/Tutorial.pod +++ b/lib/Catalyst/Manual/Tutorial.pod @@ -43,15 +43,15 @@ Catalyst provides: $ cd tutorial $ script/tutorial_server.pl - [...] [catalyst] [debug] Debug messages enabled - [...] [catalyst] [debug] Loaded plugins: + [debug] Debug messages enabled + [debug] Loaded plugins: .------------------------------------------------------------------------------. | Catalyst::Plugin::Static::Simple | '------------------------------------------------------------------------------' - [...] [catalyst] [debug] Loaded dispatcher "Catalyst::Dispatcher" - [...] [catalyst] [debug] Loaded engine "Catalyst::Engine::HTTP" - [...] [catalyst] [debug] Found home "/home/users/me/tutorial" - [...] [catalyst] [debug] Loaded Private actions: + [debug] Loaded dispatcher "Catalyst::Dispatcher" + [debug] Loaded engine "Catalyst::Engine::HTTP" + [debug] Found home "/home/users/me/tutorial" + [debug] Loaded Private actions: .--------------------------------------+---------------------------------------. | Private | Class | +--------------------------------------+---------------------------------------+ @@ -91,12 +91,10 @@ http://localhost:3000/ with your browser. More trace messages will appear in the original terminal window: - [...] [catalyst] [debug] ********************************** - [...] [catalyst] [debug] * Request 1 (0.063/s) [2148] - [...] [catalyst] [debug] ********************************** - [...] [catalyst] [debug] Arguments are "" - [...] [catalyst] [debug] "GET" request for "" from localhost - [...] [catalyst] [info] Request took 0.046883s (21.330/s) + [debug] *** Request 1 (0.063/s) [2148] + [debug] Arguments are "" + [debug] "GET" request for "/" from localhost + [info] Request took 0.046883s (21.330/s) .------------------------------------------------------------------+-----------. | Action | Time | +------------------------------------------------------------------+-----------+ @@ -360,7 +358,7 @@ template will output "tutorial", our project name. All that remains is to create a simple template called "greet.tt", containing a form with a text field called "name" like below. - [% c.name %]</head><body> + <html><head><title> [% c.config.name %]</head><body> <p>[% message %]</p> <form action="[% c.req.uri %]" method="post"> <input type="text" name="name"/>