[Catalyst-commits] r8130 - in trunk/Catalyst-View-Mason: .
lib/Catalyst/Helper/View
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Thu Jul 17 02:37:39 BST 2008
Author: rafl
Date: 2008-07-17 02:37:39 +0100 (Thu, 17 Jul 2008)
New Revision: 8130
Modified:
trunk/Catalyst-View-Mason/Makefile.PL
trunk/Catalyst-View-Mason/lib/Catalyst/Helper/View/Mason.pm
Log:
Make the generated views use parent instead of base.
Following Catalyst::Devel.
Modified: trunk/Catalyst-View-Mason/Makefile.PL
===================================================================
--- trunk/Catalyst-View-Mason/Makefile.PL 2008-07-17 01:37:29 UTC (rev 8129)
+++ trunk/Catalyst-View-Mason/Makefile.PL 2008-07-17 01:37:39 UTC (rev 8130)
@@ -11,6 +11,7 @@
requires 'HTML::Mason' => 0;
requires 'Scalar::Util' => 0;
requires 'File::Spec' => 0;
+requires 'parent' => 0;
auto_provides;
extra_tests;
Modified: trunk/Catalyst-View-Mason/lib/Catalyst/Helper/View/Mason.pm
===================================================================
--- trunk/Catalyst-View-Mason/lib/Catalyst/Helper/View/Mason.pm 2008-07-17 01:37:29 UTC (rev 8129)
+++ trunk/Catalyst-View-Mason/lib/Catalyst/Helper/View/Mason.pm 2008-07-17 01:37:39 UTC (rev 8130)
@@ -59,8 +59,9 @@
use strict;
use warnings;
-use base 'Catalyst::View::Mason';
+use parent 'Catalyst::View::Mason';
+
__PACKAGE__->config(use_match => 0);
=head1 NAME
More information about the Catalyst-commits
mailing list