[Catalyst] Missing Catalyst/Plugin/Authentication/Roles.pm
poulin at transcomjapan.com
Tue Jul 9 09:59:09 GMT 2013
Hello Catalyst mavens,
I'm working through the SneakyCat tutorial in chapter 8 of the The Definitive Guide to Catalyst. I've created and edited the files as described in the book, but when I start the development server, it complains that it can't find Catalyst::Plugin::Authentication::Roles.pm:
jsocial at linux-b0go:‾/SneakyCat> script/sneakycat_server.pl -r -d
Can't locate Catalyst/Plugin/Authentication/Roles.pm in @INC (@INC contains: /home/jsocial/SneakyCat/script/../lib /home/jsocial/perl5/lib/perl5/i586-linux-thread-multi /home/jsocial/perl5/lib/perl5 /usr/lib/perl5/site_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/5.14.2/i586-linux-thread-multi /usr/lib/perl5/5.14.2 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.14.2/Class/Load.pm line 177. Compilation failed in require at /home/jsocial/perl5/lib/perl5/Catalyst/Restarter/Forking.pm line 20.
Sure enough, it seems not to be on my machine:
jsocial at linux-b0go:‾/perl5/lib/perl5/Catalyst/Plugin/Authentication> ls
Credential Internals.pod Store User User.pm
But when I try to install it, CPAN says it doesn't know anything about it:
jsocial at linux-b0go:~> cpan Catalyst::Plugin::Authentication::Roles
Database was generated on Sun, 07 Jul 2013 16:41:02 GMT
Warning: Cannot install Catalyst::Plugin::Authentication::Roles, don't know what it is.
I haven't been able to find anything indicating there's been a relevant change in the distribution since the book was published. I'm running Perl 5.14.2 and Catalyst 5.9. I would appreciate any suggestions.
More information about the Catalyst