Subject: | Newer Catalyst::Runtime (5.80005) displays a warning |
When using this module with Catalyst 5.80005 , it display the following
warning :
MyApp::View::GraphViz is using the deprecated Catalyst::Base, update
your application as this will be removed in the next major release at
/usr/local/share/perl/5.10.0/Catalyst/Base.pm line 7.
Replacing use base qw/Catalyst::Base/;
by use base qw/Catalyst::View/;
seems to resolve the issue.
Subject: | graphviz_view_warning.patch |
--- GraphViz.pm 2009-06-16 14:50:26.000000000 +0200
+++ GraphViz.pm.new 2009-06-16 14:50:34.000000000 +0200
@@ -1,7 +1,7 @@
package Catalyst::View::GraphViz;
use strict;
-use base qw/Catalyst::Base/;
+use base qw/Catalyst::View/;
use GraphViz;
use NEXT;