[Catalyst] Where are my modules?

John M. Dlugosz wxju46gefd at snkmail.com
Thu Mar 17 09:06:35 GMT 2011


Figure this out:  perl Makefile.PL tells me I have 6 modules that need to be installed.  E.g.

- Catalyst::Plugin::ConfigLoader             ...missing.
- Catalyst::Plugin::Static::Simple           ...missing.
- Catalyst::Action::RenderView               ...missing.

However,
       $ cpan -i Catalyst::Plugin::ConfigLoader
gives:
     CPAN: Storable loaded ok (v2.25)
     Going to read '/home/john/.cpan/Metadata'
       Database was generated on Wed, 16 Mar 2011 22:27:22 GMT
     CPAN: Module::CoreList loaded ok (v2.45)
     Catalyst::Plugin::ConfigLoader is up to date (0.30).

On the other hand,
     $ perl -MCatalyst::Plugin::ConfigLoader
gives:
     Undefined subroutine &Data::Visitor::has called at 
/usr/local/share/perl/5.10.1/Data/Visitor.pm line 21.
     Compilation failed in require at 
/usr/local/share/perl/5.10.1/Data/Visitor/Callback.pm line 6.
     BEGIN failed--compilation aborted at 
/usr/local/share/perl/5.10.1/Data/Visitor/Callback.pm line 6.
     Compilation failed in require at 
/usr/local/share/perl/5.10.1/Catalyst/Plugin/ConfigLoader.pm line 8.
     BEGIN failed--compilation aborted at 
/usr/local/share/perl/5.10.1/Catalyst/Plugin/ConfigLoader.pm line 8.
     Compilation failed in require.
     BEGIN failed--compilation aborted.

'has' method is undefined?





More information about the Catalyst mailing list