[Catalyst-commits] r13142 - in trunk/examples/Tutorial: Hello_Chapter2/Hello/lib/Hello/View MyApp_Chapter3/MyApp/lib/MyApp/View MyApp_Chapter4/MyApp/lib/MyApp/View MyApp_Chapter5/MyApp/lib/MyApp/View MyApp_Chapter6/MyApp/lib/MyApp/View MyApp_Chapter7/MyApp/lib/MyApp/View MyApp_Chapter8/MyApp/lib/MyApp/View MyApp_Chapter9_FormFu/MyApp/lib/MyApp/View MyApp_Chapter9_FormHandler/MyApp/lib/MyApp/View

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Wed Apr 7 13:04:28 GMT 2010


Author: caelum
Date: 2010-04-07 14:04:27 +0100 (Wed, 07 Apr 2010)
New Revision: 13142

Added:
   trunk/examples/Tutorial/Hello_Chapter2/Hello/lib/Hello/View/HTML.pm
   trunk/examples/Tutorial/MyApp_Chapter3/MyApp/lib/MyApp/View/HTML.pm
   trunk/examples/Tutorial/MyApp_Chapter4/MyApp/lib/MyApp/View/HTML.pm
   trunk/examples/Tutorial/MyApp_Chapter5/MyApp/lib/MyApp/View/HTML.pm
   trunk/examples/Tutorial/MyApp_Chapter6/MyApp/lib/MyApp/View/HTML.pm
   trunk/examples/Tutorial/MyApp_Chapter7/MyApp/lib/MyApp/View/HTML.pm
   trunk/examples/Tutorial/MyApp_Chapter8/MyApp/lib/MyApp/View/HTML.pm
   trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/lib/MyApp/View/HTML.pm
   trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/lib/MyApp/View/HTML.pm
Removed:
   trunk/examples/Tutorial/Hello_Chapter2/Hello/lib/Hello/View/TT.pm
   trunk/examples/Tutorial/MyApp_Chapter3/MyApp/lib/MyApp/View/TT.pm
   trunk/examples/Tutorial/MyApp_Chapter4/MyApp/lib/MyApp/View/TT.pm
   trunk/examples/Tutorial/MyApp_Chapter5/MyApp/lib/MyApp/View/TT.pm
   trunk/examples/Tutorial/MyApp_Chapter6/MyApp/lib/MyApp/View/TT.pm
   trunk/examples/Tutorial/MyApp_Chapter7/MyApp/lib/MyApp/View/TT.pm
   trunk/examples/Tutorial/MyApp_Chapter8/MyApp/lib/MyApp/View/TT.pm
   trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/lib/MyApp/View/TT.pm
   trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/lib/MyApp/View/TT.pm
Log:
rename View::TT to View::HTML

Added: trunk/examples/Tutorial/Hello_Chapter2/Hello/lib/Hello/View/HTML.pm
===================================================================
--- trunk/examples/Tutorial/Hello_Chapter2/Hello/lib/Hello/View/HTML.pm	                        (rev 0)
+++ trunk/examples/Tutorial/Hello_Chapter2/Hello/lib/Hello/View/HTML.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -0,0 +1,33 @@
+package Hello::View::HTML;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(TEMPLATE_EXTENSION => '.tt');
+
+=head1 NAME
+
+Hello::View::HTML - TT View for Hello
+
+=head1 DESCRIPTION
+
+TT View for Hello.
+
+=head1 SEE ALSO
+
+L<Hello>
+
+=head1 AUTHOR
+
+root
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;

Deleted: trunk/examples/Tutorial/Hello_Chapter2/Hello/lib/Hello/View/TT.pm
===================================================================
--- trunk/examples/Tutorial/Hello_Chapter2/Hello/lib/Hello/View/TT.pm	2010-04-07 12:57:12 UTC (rev 13141)
+++ trunk/examples/Tutorial/Hello_Chapter2/Hello/lib/Hello/View/TT.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -1,33 +0,0 @@
-package Hello::View::TT;
-
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
-
-__PACKAGE__->config(TEMPLATE_EXTENSION => '.tt');
-
-=head1 NAME
-
-Hello::View::TT - TT View for Hello
-
-=head1 DESCRIPTION
-
-TT View for Hello.
-
-=head1 SEE ALSO
-
-L<Hello>
-
-=head1 AUTHOR
-
-root
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;

Added: trunk/examples/Tutorial/MyApp_Chapter3/MyApp/lib/MyApp/View/HTML.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter3/MyApp/lib/MyApp/View/HTML.pm	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter3/MyApp/lib/MyApp/View/HTML.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -0,0 +1,44 @@
+package MyApp::View::HTML;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(
+    # Change default TT extension
+    TEMPLATE_EXTENSION => '.tt2',
+    # Set the location for TT files
+    INCLUDE_PATH => [
+            MyApp->path_to( 'root', 'src' ),
+        ],
+    # Set to 1 for detailed timer stats in your HTML as comments
+    TIMER              => 0,
+    # This is your wrapper template located in the 'root/src'
+    WRAPPER => 'wrapper.tt2',
+);
+
+=head1 NAME
+
+MyApp::View::HTML - TT View for MyApp
+
+=head1 DESCRIPTION
+
+TT View for MyApp.
+
+=head1 SEE ALSO
+
+L<MyApp>
+
+=head1 AUTHOR
+
+root
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;

Deleted: trunk/examples/Tutorial/MyApp_Chapter3/MyApp/lib/MyApp/View/TT.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter3/MyApp/lib/MyApp/View/TT.pm	2010-04-07 12:57:12 UTC (rev 13141)
+++ trunk/examples/Tutorial/MyApp_Chapter3/MyApp/lib/MyApp/View/TT.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -1,44 +0,0 @@
-package MyApp::View::TT;
-
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
-
-__PACKAGE__->config(
-    # Change default TT extension
-    TEMPLATE_EXTENSION => '.tt2',
-    # Set the location for TT files
-    INCLUDE_PATH => [
-            MyApp->path_to( 'root', 'src' ),
-        ],
-    # Set to 1 for detailed timer stats in your HTML as comments
-    TIMER              => 0,
-    # This is your wrapper template located in the 'root/src'
-    WRAPPER => 'wrapper.tt2',
-);
-
-=head1 NAME
-
-MyApp::View::TT - TT View for MyApp
-
-=head1 DESCRIPTION
-
-TT View for MyApp.
-
-=head1 SEE ALSO
-
-L<MyApp>
-
-=head1 AUTHOR
-
-root
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;

Added: trunk/examples/Tutorial/MyApp_Chapter4/MyApp/lib/MyApp/View/HTML.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter4/MyApp/lib/MyApp/View/HTML.pm	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter4/MyApp/lib/MyApp/View/HTML.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -0,0 +1,44 @@
+package MyApp::View::HTML;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(
+    # Change default TT extension
+    TEMPLATE_EXTENSION => '.tt2',
+    # Set the location for TT files
+    INCLUDE_PATH => [
+            MyApp->path_to( 'root', 'src' ),
+        ],
+    # Set to 1 for detailed timer stats in your HTML as comments
+    TIMER              => 0,
+    # This is your wrapper template located in the 'root/src'
+    WRAPPER => 'wrapper.tt2',
+);
+
+=head1 NAME
+
+MyApp::View::HTML - TT View for MyApp
+
+=head1 DESCRIPTION
+
+TT View for MyApp.
+
+=head1 SEE ALSO
+
+L<MyApp>
+
+=head1 AUTHOR
+
+root
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;

Deleted: trunk/examples/Tutorial/MyApp_Chapter4/MyApp/lib/MyApp/View/TT.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter4/MyApp/lib/MyApp/View/TT.pm	2010-04-07 12:57:12 UTC (rev 13141)
+++ trunk/examples/Tutorial/MyApp_Chapter4/MyApp/lib/MyApp/View/TT.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -1,44 +0,0 @@
-package MyApp::View::TT;
-
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
-
-__PACKAGE__->config(
-    # Change default TT extension
-    TEMPLATE_EXTENSION => '.tt2',
-    # Set the location for TT files
-    INCLUDE_PATH => [
-            MyApp->path_to( 'root', 'src' ),
-        ],
-    # Set to 1 for detailed timer stats in your HTML as comments
-    TIMER              => 0,
-    # This is your wrapper template located in the 'root/src'
-    WRAPPER => 'wrapper.tt2',
-);
-
-=head1 NAME
-
-MyApp::View::TT - TT View for MyApp
-
-=head1 DESCRIPTION
-
-TT View for MyApp.
-
-=head1 SEE ALSO
-
-L<MyApp>
-
-=head1 AUTHOR
-
-root
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;

Added: trunk/examples/Tutorial/MyApp_Chapter5/MyApp/lib/MyApp/View/HTML.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter5/MyApp/lib/MyApp/View/HTML.pm	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter5/MyApp/lib/MyApp/View/HTML.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -0,0 +1,44 @@
+package MyApp::View::HTML;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(
+    # Change default TT extension
+    TEMPLATE_EXTENSION => '.tt2',
+    # Set the location for TT files
+    INCLUDE_PATH => [
+            MyApp->path_to( 'root', 'src' ),
+        ],
+    # Set to 1 for detailed timer stats in your HTML as comments
+    TIMER              => 0,
+    # This is your wrapper template located in the 'root/src'
+    WRAPPER => 'wrapper.tt2',
+);
+
+=head1 NAME
+
+MyApp::View::HTML - TT View for MyApp
+
+=head1 DESCRIPTION
+
+TT View for MyApp.
+
+=head1 SEE ALSO
+
+L<MyApp>
+
+=head1 AUTHOR
+
+root
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;

Deleted: trunk/examples/Tutorial/MyApp_Chapter5/MyApp/lib/MyApp/View/TT.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter5/MyApp/lib/MyApp/View/TT.pm	2010-04-07 12:57:12 UTC (rev 13141)
+++ trunk/examples/Tutorial/MyApp_Chapter5/MyApp/lib/MyApp/View/TT.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -1,44 +0,0 @@
-package MyApp::View::TT;
-
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
-
-__PACKAGE__->config(
-    # Change default TT extension
-    TEMPLATE_EXTENSION => '.tt2',
-    # Set the location for TT files
-    INCLUDE_PATH => [
-            MyApp->path_to( 'root', 'src' ),
-        ],
-    # Set to 1 for detailed timer stats in your HTML as comments
-    TIMER              => 0,
-    # This is your wrapper template located in the 'root/src'
-    WRAPPER => 'wrapper.tt2',
-);
-
-=head1 NAME
-
-MyApp::View::TT - TT View for MyApp
-
-=head1 DESCRIPTION
-
-TT View for MyApp.
-
-=head1 SEE ALSO
-
-L<MyApp>
-
-=head1 AUTHOR
-
-root
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;

Added: trunk/examples/Tutorial/MyApp_Chapter6/MyApp/lib/MyApp/View/HTML.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter6/MyApp/lib/MyApp/View/HTML.pm	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter6/MyApp/lib/MyApp/View/HTML.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -0,0 +1,44 @@
+package MyApp::View::HTML;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(
+    # Change default TT extension
+    TEMPLATE_EXTENSION => '.tt2',
+    # Set the location for TT files
+    INCLUDE_PATH => [
+            MyApp->path_to( 'root', 'src' ),
+        ],
+    # Set to 1 for detailed timer stats in your HTML as comments
+    TIMER              => 0,
+    # This is your wrapper template located in the 'root/src'
+    WRAPPER => 'wrapper.tt2',
+);
+
+=head1 NAME
+
+MyApp::View::HTML - TT View for MyApp
+
+=head1 DESCRIPTION
+
+TT View for MyApp.
+
+=head1 SEE ALSO
+
+L<MyApp>
+
+=head1 AUTHOR
+
+root
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;

Deleted: trunk/examples/Tutorial/MyApp_Chapter6/MyApp/lib/MyApp/View/TT.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter6/MyApp/lib/MyApp/View/TT.pm	2010-04-07 12:57:12 UTC (rev 13141)
+++ trunk/examples/Tutorial/MyApp_Chapter6/MyApp/lib/MyApp/View/TT.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -1,44 +0,0 @@
-package MyApp::View::TT;
-
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
-
-__PACKAGE__->config(
-    # Change default TT extension
-    TEMPLATE_EXTENSION => '.tt2',
-    # Set the location for TT files
-    INCLUDE_PATH => [
-            MyApp->path_to( 'root', 'src' ),
-        ],
-    # Set to 1 for detailed timer stats in your HTML as comments
-    TIMER              => 0,
-    # This is your wrapper template located in the 'root/src'
-    WRAPPER => 'wrapper.tt2',
-);
-
-=head1 NAME
-
-MyApp::View::TT - TT View for MyApp
-
-=head1 DESCRIPTION
-
-TT View for MyApp.
-
-=head1 SEE ALSO
-
-L<MyApp>
-
-=head1 AUTHOR
-
-root
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;

Added: trunk/examples/Tutorial/MyApp_Chapter7/MyApp/lib/MyApp/View/HTML.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter7/MyApp/lib/MyApp/View/HTML.pm	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter7/MyApp/lib/MyApp/View/HTML.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -0,0 +1,44 @@
+package MyApp::View::HTML;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(
+    # Change default TT extension
+    TEMPLATE_EXTENSION => '.tt2',
+    # Set the location for TT files
+    INCLUDE_PATH => [
+            MyApp->path_to( 'root', 'src' ),
+        ],
+    # Set to 1 for detailed timer stats in your HTML as comments
+    TIMER              => 0,
+    # This is your wrapper template located in the 'root/src'
+    WRAPPER => 'wrapper.tt2',
+);
+
+=head1 NAME
+
+MyApp::View::HTML - TT View for MyApp
+
+=head1 DESCRIPTION
+
+TT View for MyApp.
+
+=head1 SEE ALSO
+
+L<MyApp>
+
+=head1 AUTHOR
+
+root
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;

Deleted: trunk/examples/Tutorial/MyApp_Chapter7/MyApp/lib/MyApp/View/TT.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter7/MyApp/lib/MyApp/View/TT.pm	2010-04-07 12:57:12 UTC (rev 13141)
+++ trunk/examples/Tutorial/MyApp_Chapter7/MyApp/lib/MyApp/View/TT.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -1,44 +0,0 @@
-package MyApp::View::TT;
-
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
-
-__PACKAGE__->config(
-    # Change default TT extension
-    TEMPLATE_EXTENSION => '.tt2',
-    # Set the location for TT files
-    INCLUDE_PATH => [
-            MyApp->path_to( 'root', 'src' ),
-        ],
-    # Set to 1 for detailed timer stats in your HTML as comments
-    TIMER              => 0,
-    # This is your wrapper template located in the 'root/src'
-    WRAPPER => 'wrapper.tt2',
-);
-
-=head1 NAME
-
-MyApp::View::TT - TT View for MyApp
-
-=head1 DESCRIPTION
-
-TT View for MyApp.
-
-=head1 SEE ALSO
-
-L<MyApp>
-
-=head1 AUTHOR
-
-root
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;

Added: trunk/examples/Tutorial/MyApp_Chapter8/MyApp/lib/MyApp/View/HTML.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter8/MyApp/lib/MyApp/View/HTML.pm	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter8/MyApp/lib/MyApp/View/HTML.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -0,0 +1,44 @@
+package MyApp::View::HTML;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(
+    # Change default TT extension
+    TEMPLATE_EXTENSION => '.tt2',
+    # Set the location for TT files
+    INCLUDE_PATH => [
+            MyApp->path_to( 'root', 'src' ),
+        ],
+    # Set to 1 for detailed timer stats in your HTML as comments
+    TIMER              => 0,
+    # This is your wrapper template located in the 'root/src'
+    WRAPPER => 'wrapper.tt2',
+);
+
+=head1 NAME
+
+MyApp::View::HTML - TT View for MyApp
+
+=head1 DESCRIPTION
+
+TT View for MyApp.
+
+=head1 SEE ALSO
+
+L<MyApp>
+
+=head1 AUTHOR
+
+root
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;

Deleted: trunk/examples/Tutorial/MyApp_Chapter8/MyApp/lib/MyApp/View/TT.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter8/MyApp/lib/MyApp/View/TT.pm	2010-04-07 12:57:12 UTC (rev 13141)
+++ trunk/examples/Tutorial/MyApp_Chapter8/MyApp/lib/MyApp/View/TT.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -1,44 +0,0 @@
-package MyApp::View::TT;
-
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
-
-__PACKAGE__->config(
-    # Change default TT extension
-    TEMPLATE_EXTENSION => '.tt2',
-    # Set the location for TT files
-    INCLUDE_PATH => [
-            MyApp->path_to( 'root', 'src' ),
-        ],
-    # Set to 1 for detailed timer stats in your HTML as comments
-    TIMER              => 0,
-    # This is your wrapper template located in the 'root/src'
-    WRAPPER => 'wrapper.tt2',
-);
-
-=head1 NAME
-
-MyApp::View::TT - TT View for MyApp
-
-=head1 DESCRIPTION
-
-TT View for MyApp.
-
-=head1 SEE ALSO
-
-L<MyApp>
-
-=head1 AUTHOR
-
-root
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;

Added: trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/lib/MyApp/View/HTML.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/lib/MyApp/View/HTML.pm	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/lib/MyApp/View/HTML.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -0,0 +1,44 @@
+package MyApp::View::HTML;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(
+    # Change default TT extension
+    TEMPLATE_EXTENSION => '.tt2',
+    # Set the location for TT files
+    INCLUDE_PATH => [
+            MyApp->path_to( 'root', 'src' ),
+        ],
+    # Set to 1 for detailed timer stats in your HTML as comments
+    TIMER              => 0,
+    # This is your wrapper template located in the 'root/src'
+    WRAPPER => 'wrapper.tt2',
+);
+
+=head1 NAME
+
+MyApp::View::HTML - TT View for MyApp
+
+=head1 DESCRIPTION
+
+TT View for MyApp.
+
+=head1 SEE ALSO
+
+L<MyApp>
+
+=head1 AUTHOR
+
+root
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;

Deleted: trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/lib/MyApp/View/TT.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/lib/MyApp/View/TT.pm	2010-04-07 12:57:12 UTC (rev 13141)
+++ trunk/examples/Tutorial/MyApp_Chapter9_FormFu/MyApp/lib/MyApp/View/TT.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -1,44 +0,0 @@
-package MyApp::View::TT;
-
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
-
-__PACKAGE__->config(
-    # Change default TT extension
-    TEMPLATE_EXTENSION => '.tt2',
-    # Set the location for TT files
-    INCLUDE_PATH => [
-            MyApp->path_to( 'root', 'src' ),
-        ],
-    # Set to 1 for detailed timer stats in your HTML as comments
-    TIMER              => 0,
-    # This is your wrapper template located in the 'root/src'
-    WRAPPER => 'wrapper.tt2',
-);
-
-=head1 NAME
-
-MyApp::View::TT - TT View for MyApp
-
-=head1 DESCRIPTION
-
-TT View for MyApp.
-
-=head1 SEE ALSO
-
-L<MyApp>
-
-=head1 AUTHOR
-
-root
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;

Added: trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/lib/MyApp/View/HTML.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/lib/MyApp/View/HTML.pm	                        (rev 0)
+++ trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/lib/MyApp/View/HTML.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -0,0 +1,40 @@
+package MyApp::View::HTML;
+
+use strict;
+use warnings;
+
+use base 'Catalyst::View::TT';
+
+__PACKAGE__->config(
+    # Change default TT extension
+    #TEMPLATE_EXTENSION => '.tt2',
+    # Set the location for TT files
+    INCLUDE_PATH => [
+            MyApp->path_to( 'root', 'src' ),
+        ],
+    # Set to 1 for detailed timer stats in your HTML as comments
+    TIMER              => 0,
+    # This is your wrapper template located in the 'root/src'
+    WRAPPER => 'wrapper.tt2',
+);
+
+=head1 NAME
+
+MyApp::View::HTML - TT View for MyApp
+
+=head1 DESCRIPTION
+
+TT View for MyApp.
+
+=head1 SEE ALSO
+
+L<MyApp>
+
+=head1 LICENSE
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
+1;

Deleted: trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/lib/MyApp/View/TT.pm
===================================================================
--- trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/lib/MyApp/View/TT.pm	2010-04-07 12:57:12 UTC (rev 13141)
+++ trunk/examples/Tutorial/MyApp_Chapter9_FormHandler/MyApp/lib/MyApp/View/TT.pm	2010-04-07 13:04:27 UTC (rev 13142)
@@ -1,40 +0,0 @@
-package MyApp::View::TT;
-
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
-
-__PACKAGE__->config(
-    # Change default TT extension
-    #TEMPLATE_EXTENSION => '.tt2',
-    # Set the location for TT files
-    INCLUDE_PATH => [
-            MyApp->path_to( 'root', 'src' ),
-        ],
-    # Set to 1 for detailed timer stats in your HTML as comments
-    TIMER              => 0,
-    # This is your wrapper template located in the 'root/src'
-    WRAPPER => 'wrapper.tt2',
-);
-
-=head1 NAME
-
-MyApp::View::TT - TT View for MyApp
-
-=head1 DESCRIPTION
-
-TT View for MyApp.
-
-=head1 SEE ALSO
-
-L<MyApp>
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
-1;




More information about the Catalyst-commits mailing list