[Catalyst] "Catalyst::Plugin::Authentication uses NEXT, which is deprecated."

will at serensoft.com will at serensoft.com
Mon May 31 04:16:47 GMT 2010


Okay, we should uninstall the deprecated modules just to be sure our
dependencies are all clean, and we should use Catalyst::Authentication
instead of Catalyst::Plugin::Authentication...

So I've got two questions:


A) How do you uninstall these deprecated Catalyst modules?

$ cd <cpan_home>/build
$ cd Catalyst-Plugin-Authentication-Store-DBIC-0.11-i_lwDv
$ perl Makefile.PL
$ make uninstall
Uninstall is unsafe and deprecated, the uninstallation was not performed.
We will show what would have been done.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: no packlist file found:
'/usr/local/lib/perl/5.10.0/auto/Catalyst/Plugin/Authentication/Store/DBIC/=
.packlist'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
make: *** [uninstall_from_sitedirs] Error 2


B) How do we make sure we're using the recommended Store/Credential modules?
This isn't something we specify via "use Catalyst qw/blah/" I take it.

And is this also true for Session modules? E.g. is
C::P::Session::Store::DBIC deprecated in favor of something like
C::Session::Store::DBIx::Class, etc?


On Sun, May 9, 2010 at 7:07 PM, J. Shirley <jshirley at gmail.com> wrote:

> Catalyst::Plugin::Authentication is the right module to use.
>
> The old Store and Credential modules were under
> Catalyst::Plugin::Authentication but current modules are under the
> Catalyst::Authentication namespace.
>
> So, what you should do is install
> Catalyst::Authentication::Store::DBIx::Class (and preferably uninstall the
> deprecated Catalyst::Plugin::Authentication::Store::DBIC version).
>

-- =

will trillich
"It's only by saying 'no' that you can concentrate on the things that are
really important." -- Steve Jobs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100530/343c2=
2f6/attachment.htm


More information about the Catalyst mailing list