[Catalyst] [Patch] CatalystAdvent minor improvements

Daniel Westermann-Clark daniel at acceleration.net
Sat Dec 10 23:11:42 CET 2005


Here are two patches for CatalystAdvent, both minor.

First, I updated Makefile.PL to list all the requirements.  I'm
beginning to think I'm the only one who runs perl Makefile.PL when I
start looking at a project.  ;)

Second, I added a link back to the calendar page in root/wrapper.tt.
This is so people given a link to an individual day can find their way
to the rest of the useful information.

-- 
Daniel Westermann-Clark
-------------- next part --------------
==== Patch <catalystadvent-prereqs> level 1
Source: [No source]
Target: 4ad37cd2-5fec-0310-835f-b3785c72a374:/:2628 [mirrored]
        (http://dev.catalyst.perl.org/repos/Catalyst)
Log:
 r3016 at fortuna:  dwc | 2005-12-10 16:07:23 -0500
 Add prereqs to Makefile.PL

=== trunk/examples/CatalystAdvent/Makefile.PL
==================================================================
--- trunk/examples/CatalystAdvent/Makefile.PL	(revision 2628)
+++ trunk/examples/CatalystAdvent/Makefile.PL	(patch catalystadvent-prereqs level 1)
@@ -3,12 +3,16 @@
 name('CatalystAdvent');
 abstract('Catalyst Application');
 author('Catalyst developers');
-version_from('lib\CatalystAdvent.pm');
+version_from('lib/CatalystAdvent.pm');
 license('perl');
 
 include('ExtUtils::AutoInstall');
 
 requires( Catalyst => '5.60' );
+requires( 'Catalyst::Plugin::DefaultEnd' );
+requires( 'Catalyst::Plugin::Cache::FileCache' );
+requires( 'DateTime' );
+requires( 'File::stat' );
 requires( 'Pod::Xhtml' );
 requires( 'Calendar::Simple' );
 requires( 'XML::Feed' );
-------------- next part --------------
==== Patch <catalystadvent-link> level 1
Source: [No source]
Target: 4ad37cd2-5fec-0310-835f-b3785c72a374:/:2628 [mirrored]
        (http://dev.catalyst.perl.org/repos/Catalyst)
Log:
 r3017 at fortuna:  dwc | 2005-12-10 16:09:46 -0500
 Link back to calendar page

=== trunk/examples/CatalystAdvent/root/wrapper.tt
==================================================================
--- trunk/examples/CatalystAdvent/root/wrapper.tt	(revision 2628)
+++ trunk/examples/CatalystAdvent/root/wrapper.tt	(patch catalystadvent-link level 1)
@@ -10,7 +10,7 @@
 <body>

     <div id="contentwrapper">

         <div id="header">

-            <h1>Catalyst Advent Calendar</h1>

+            <h1><a href="[% c.uri_for( '/' ) %]">Catalyst Advent Calendar</a></h1>

         </div>

 [% UNLESS pod %]

 	<p id="note">25 days of Catalyst tips!</p>



More information about the Catalyst mailing list