Subject: | change base from Catalyst::Base to Catalyst::Controller |
Hi Ben,
Just to let you know that you need to change one line of your most
excellent module Catalyst::View::Atom::XML.
When I run Catalyst under the development server I see this message:
[ Nov 5 10:12:29 Method "start" exited with status 0 ]
S4C::Sched::View::XML is using the deprecated Catalyst::Base, update
your application as this will be removed in the next major release at
/opt/csw/share/perl/site_perl/Catalyst/Base.pm line 7.
My module S4C::Sched::View::XML just uses your module:
package S4C::Sched::View::XML;
use strict;
use warnings;
use base qw( Catalyst::View::Atom::XML );
1;
Changing line 7 of Catalyst::Plugin::AtomServer from:
use base qw( Catalyst::Base );
to
use base qw( Catalyst::Controller );
fixes the warning as described in >perldoc Catalyst::Base.
Thanks for creating and supporting the module.
Let me know if I've missed out any important information and I'll sort
it out.
Best regards,
David Morgan.
############
Here is some more information about my installation:
Catalyst 5.80013
david@test2 ~ $ perl -v
This is perl, v5.8.8 built for i86pc-solaris-thread-multi
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
david@test2 ~ $
david@test2 ~ $ uname -a
SunOS test2 5.10 Generic_141445-09 i86pc i386 i86pc
david@test2 ~ $