[Catalyst-commits] r8647 - in trunk/Catalyst-View-XSLT/lib/Catalyst: Helper/View View View/XSLT/XML

janus at dev.catalyst.perl.org janus at dev.catalyst.perl.org
Mon Nov 24 08:37:34 GMT 2008


Author: janus
Date: 2008-11-24 08:37:34 +0000 (Mon, 24 Nov 2008)
New Revision: 8647

Modified:
   trunk/Catalyst-View-XSLT/lib/Catalyst/Helper/View/XSLT.pm
   trunk/Catalyst-View-XSLT/lib/Catalyst/View/XSLT.pm
   trunk/Catalyst-View-XSLT/lib/Catalyst/View/XSLT/XML/LibXSLT.pm
Log:
some pod love

Modified: trunk/Catalyst-View-XSLT/lib/Catalyst/Helper/View/XSLT.pm
===================================================================
--- trunk/Catalyst-View-XSLT/lib/Catalyst/Helper/View/XSLT.pm	2008-11-24 08:02:32 UTC (rev 8646)
+++ trunk/Catalyst-View-XSLT/lib/Catalyst/Helper/View/XSLT.pm	2008-11-24 08:37:34 UTC (rev 8647)
@@ -15,9 +15,9 @@
 
 Helper for XSLT Views.
 
-=head2 METHODS
+=head1 METHODS
 
-=head3 mk_compclass
+=head2 mk_compclass
 
 =cut
 

Modified: trunk/Catalyst-View-XSLT/lib/Catalyst/View/XSLT/XML/LibXSLT.pm
===================================================================
--- trunk/Catalyst-View-XSLT/lib/Catalyst/View/XSLT/XML/LibXSLT.pm	2008-11-24 08:02:32 UTC (rev 8646)
+++ trunk/Catalyst-View-XSLT/lib/Catalyst/View/XSLT/XML/LibXSLT.pm	2008-11-24 08:37:34 UTC (rev 8647)
@@ -10,9 +10,9 @@
 
 =head1 SYNOPSIS
 
-This module is meant to be used internaly by Catalyst::View::XSLT module.
+This module is meant to be used internally by L<Catalyst::View::XSLT>.
 
-=cut
+=head1 METHODS
 
 =over 4
 
@@ -22,7 +22,6 @@
 
 =cut
 
-# {{{ sub new(mixed $proto, oref $c, href $params)
 sub new
 {
     my ($proto, $c, $params) = @_;
@@ -65,7 +64,6 @@
     return $self;
 
 }
-# }}}
 
 =item process
 
@@ -115,7 +113,7 @@
 
 =head1 SEE ALSO
 
-L<Catalyst>, L<Catalyst::Base>, L<XML::LibXSLT>.
+L<Catalyst>, L<Catalyst::Base>, L<XML::LibXSLT>
 
 =head1 AUTHOR
 

Modified: trunk/Catalyst-View-XSLT/lib/Catalyst/View/XSLT.pm
===================================================================
--- trunk/Catalyst-View-XSLT/lib/Catalyst/View/XSLT.pm	2008-11-24 08:02:32 UTC (rev 8646)
+++ trunk/Catalyst-View-XSLT/lib/Catalyst/View/XSLT.pm	2008-11-24 08:37:34 UTC (rev 8647)
@@ -18,10 +18,10 @@
 
 =head1 SYNOPSIS
 
-    # use the helper
-    create.pl view XSLT XSLT
+    # use the helper to create your view
+    myapp_create.pl view XSLT XSLT
 
-    # lib/MyApp/View/XSLT.pm
+    # configure in lib/MyApp/View/XSLT.pm (can be done from a config file too)
     package MyApp::View::XSLT;
 
     use base 'Catalyst::View::XSLT';
@@ -62,7 +62,7 @@
 
     1;
 
-    # In your controller(s) :
+    # in your controller(s) :
     sub someAction : Local {
 
         # 'template' could be string or path to file
@@ -122,10 +122,14 @@
 
 =head1 DESCRIPTION
 
-This is a C<XSLT> view class for Catalyst. Your subclass should inherit from this
-class.
+This is a C<XSLT> view class for Catalyst.
+Your application should defined a view class which is a subclass of
+this module.  The easiest way to achieve this is using the
+F<myapp_create.pl> script (where F<myapp> should be replaced with
+whatever your application is called).  This script is created as part
+of the Catalyst setup.
 
-=head2 METHODS
+=head1 METHODS
 
 =over 4
 
@@ -150,7 +154,6 @@
 }
 
 
-# new (mixed $proto, oref $c, href $params)
 sub new {
     my ($proto, $c) = @_;
 
@@ -206,7 +209,6 @@
 
     return $self;
 }
-# 
 
 =item render
 
@@ -382,11 +384,11 @@
 
 =head1 NOTE
 
-This version works only with XML::LibXSLT.
+This version works only with L<XML::LibXSLT>.
 
 =head1 SEE ALSO
 
-L<Catalyst>, L<Catalyst::Base>, L<XML::LibXSLT>.
+L<Catalyst>, L<Catalyst::Base>, L<XML::LibXSLT>
 
 =head1 AUTHOR
 




More information about the Catalyst-commits mailing list